Check-in [42a3efcd94]
Overview
Comment:Updated to not try to update package information for each sites when stat()'ing them
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 42a3efcd94d45b0698f1cedaaedfdbb2f5b3f824
User & Date: rkeene on 2014-12-01 02:02:12
Other Links: manifest | tags
Context
2014-12-29
03:49
Updated to exit in success from "-h" and to ignore the "-v" option check-in: ff9238cef4 user: rkeene tags: trunk
2014-12-01
02:02
Updated to not try to update package information for each sites when stat()'ing them check-in: 42a3efcd94 user: rkeene tags: trunk
2014-11-20
19:29
AppFS 1.2 check-in: 2b052470df user: rkeene tags: trunk, 1.2
Changes

Modified appfsd.tcl from [eb68884ad6] to [98d9d73f56].

667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
				set retval(type) directory
				set retval(childcount) [llength [getchildren $path]]
			}
			"sites" {
				set check [::appfs::db onecolumn {SELECT 1 FROM packages WHERE hostname = $pathinfo(hostname);}]
				if {$check == "1"} {
					set retval(type) directory
					set retval(childcount) [llength [getchildren $path]]
				}
			}
			"packages" {
				set check [::appfs::db onecolumn {SELECT 1 FROM packages WHERE hostname = $pathinfo(hostname) AND package = $pathinfo(package);}]
				if {$check == "1"} {
					set retval(type) directory
					set retval(childcount) [llength [getchildren $path]]







|







667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
				set retval(type) directory
				set retval(childcount) [llength [getchildren $path]]
			}
			"sites" {
				set check [::appfs::db onecolumn {SELECT 1 FROM packages WHERE hostname = $pathinfo(hostname);}]
				if {$check == "1"} {
					set retval(type) directory
					set retval(childcount) 0
				}
			}
			"packages" {
				set check [::appfs::db onecolumn {SELECT 1 FROM packages WHERE hostname = $pathinfo(hostname) AND package = $pathinfo(package);}]
				if {$check == "1"} {
					set retval(type) directory
					set retval(childcount) [llength [getchildren $path]]