Next: Private data
Up: PKGFS
Previous: Public methods
Indice
Some protected methods have been written to create and manage different
directory types, among which the most interesting ones are those used
to identify packages and to compute levels:
-
path
is
trivial: it takes a level-one pathname as argument and extract the
last element;
-
dir
counts
slashes in the pathname and subtract the baselevel. This way it is
able to return the current pathname level.
2004-11-19