753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
|
set retval(childcount) [llength [getchildren $path]]
}
"file" {
set retval(type) "file"
set retval(size) $localpathinfo(size)
_as_user {
if {[file executable $localpath]} {
set retval(perms) "x"
} else {
set retval(perms) ""
}
}
}
"link" {
set retval(type) "symlink"
_as_user {
|
|
|
|
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
|
set retval(childcount) [llength [getchildren $path]]
}
"file" {
set retval(type) "file"
set retval(size) $localpathinfo(size)
_as_user {
if {[file executable $localpath]} {
set retval(perms) "x-"
} else {
set retval(perms) "-"
}
}
}
"link" {
set retval(type) "symlink"
_as_user {
|