pa_walk (public)
pa_walk dir
Defined in packages/photo-album/tcl/photo-album-procs.tcl
Walk starting at a given directory and return a list of all the plain files found
- Parameters:
- dir (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set files [list] foreach f [glob -nocomplain [file join $dir *]] { set type [file type $f] switch $type { directory { set files [concat $files [pa_walk $f]] } file { lappend files $f } default { # Goofy file types -- just ignore them } } } return $filesGeneric XQL file: packages/photo-album/tcl/photo-album-procs.xql
PostgreSQL XQL file: packages/photo-album/tcl/photo-album-procs-postgresql.xql
Oracle XQL file: packages/photo-album/tcl/photo-album-procs-oracle.xql