Added index entries to make it easier to locate directory operations.

This commit is contained in:
Fred Drake 1998-12-28 21:58:15 +00:00
parent cc09e8dc82
commit 8692998018
1 changed files with 2 additions and 0 deletions

View File

@ -87,6 +87,7 @@ doesn't have a \code{'PATH'} key.
\begin{funcdesc}{makedirs}{path\optional{, mode}} \begin{funcdesc}{makedirs}{path\optional{, mode}}
\versionadded{1.5.2} \versionadded{1.5.2}
\index{directory!creating}
Recursive directory creation function. Like \function{mkdir()}, Recursive directory creation function. Like \function{mkdir()},
but makes all intermediate-level directories needed to contain the but makes all intermediate-level directories needed to contain the
leaf directory. Throws an \exception{os.error} exception if the leaf leaf directory. Throws an \exception{os.error} exception if the leaf
@ -96,6 +97,7 @@ is \code{0777} (octal).
\begin{funcdesc}{removedirs}{path} \begin{funcdesc}{removedirs}{path}
\versionadded{1.5.2} \versionadded{1.5.2}
\index{directory!deleting}
Recursive directory removal function. Works like Recursive directory removal function. Works like
\function{rmdir()} except that, if the leaf directory is \function{rmdir()} except that, if the leaf directory is
successfully removed, directories corresponding to rightmost path successfully removed, directories corresponding to rightmost path