File 'base/file.tcl' (part of 'Pool_Base')
Home | Packages | Files | Procedures | Classes | Namespaces | Keywords | External packages
::pool::file::descendDirs (var path script)
|
|
Argument: var
|
Variable used to transfer the current path into the script.
|
Argument: path
|
Start of the directory hierarchy to follow.
|
Argument: script
|
Tcl code executed upon each iteration.
|
::pool::file::descendFiles (var path script)
|
|
Argument: var
|
Variable used to transfer the current path into the script
|
Argument: path
|
Start of the directory hierarchy to follow.
|
Argument: script
|
Tcl code executed upon each iteration.
|
::pool::file::followLink (path)
|
|
Notes: Only the last component of path is followed, any softlinks higher in the path are not handled.
|
Argument: path
|
The path to follow.
|
Returns: Final destination of path.
|
::pool::file::here ()
|
|
Returns: The path to the directory containing the active script
|
::pool::file::normalizeUnixPath (path)
|
|
Dangers: The code used here will mishandle leading ..'s
|
Notes: This is not platform independent, but quite nice for handling of internet urls. Because of this the working directory is NOT tacked on to the front of the path.
|
Argument: path
|
The path to normalize.
|
Returns: The normalized path.
|
::pool::file::realname (path)
|
by Maurice Diamantini
|
|
Notes: I rewrote Maurice code to use the procedures I already had in this file.
|
Argument: path
|
The path to follow.
|
Returns: Canonical name of path.
|
::pool::file::resolveLinks (path)
|
by Maurice Diamantini
|
|
Notes: I rewrote Maurice code to use the procedures I already had in this file.
|
Argument: path
|
The path to follow.
|
Returns: Nearly canonical name of path. Nearly, as it may contain '.' and '..'.
|
::pool::file::subdirs (dir)
|
|
Argument: dir
|
The directory to search in.
|
Returns: List containing all found subdirectories
|
Home | Packages | Files | Procedures | Classes | Namespaces | Keywords | External packages
Generated by AutoDoc 2.4 at 09/14/2000, invoked by Andreas Kupries