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