Added documentation for the new file-info-... variants.
This commit is contained in:
parent
4739c4c9e7
commit
048292ab2f
|
@ -1286,6 +1286,18 @@ For example,
|
||||||
\codex{(file-directory? "/usr/dalbertz")\qquad\evalto\qquad\sharpt}
|
\codex{(file-directory? "/usr/dalbertz")\qquad\evalto\qquad\sharpt}
|
||||||
\end{desc}
|
\end{desc}
|
||||||
|
|
||||||
|
There are variants of these procedures which work directly on
|
||||||
|
\ex{file-info} records:
|
||||||
|
\defun {file-info-directory?}{file-info}{\boolean}
|
||||||
|
\defunx {file-info-fifo?}{file-info}{\boolean}
|
||||||
|
\defunx {file-info-regular?}{file-info}{\boolean}
|
||||||
|
\defunx {file-info-socket?}{file-info}{\boolean}
|
||||||
|
\defunx {file-info-special?}{file-info}{\boolean}
|
||||||
|
\defunx {file-info-symlink?}{file-info}{\boolean}
|
||||||
|
|
||||||
|
The following set of procedures are a convenient means to work on the
|
||||||
|
permission bits of a file:
|
||||||
|
|
||||||
\defun {file-not-readable?} {fname/fd/port} \boolean
|
\defun {file-not-readable?} {fname/fd/port} \boolean
|
||||||
\defunx{file-not-writable?} {fname/fd/port} \boolean
|
\defunx{file-not-writable?} {fname/fd/port} \boolean
|
||||||
\defunx{file-not-executable?} {fname/fd/port} \boolean
|
\defunx{file-not-executable?} {fname/fd/port} \boolean
|
||||||
|
@ -1346,6 +1358,15 @@ For example,
|
||||||
Refer to them for a discussion of their problems and limitations.
|
Refer to them for a discussion of their problems and limitations.
|
||||||
\end{desc}
|
\end{desc}
|
||||||
|
|
||||||
|
\defun {file-info-not-readable?} {file-info} \boolean
|
||||||
|
\defunx{file-info-not-writable?} {file-info} \boolean
|
||||||
|
\defunx{file-info-not-executable?} {file-info} \boolean
|
||||||
|
\defun {file-info-readable?} {file-info} \boolean
|
||||||
|
\defunx {file-info-writable?} {file-info} \boolean
|
||||||
|
\defunx {file-info-executable?} {file-info} \boolean
|
||||||
|
|
||||||
|
There are variants which work directly on \ex{file-info} records.
|
||||||
|
|
||||||
\begin{defundesc}{file-not-exists?} {fname/fd/port [chase?]} \object
|
\begin{defundesc}{file-not-exists?} {fname/fd/port [chase?]} \object
|
||||||
Returns:
|
Returns:
|
||||||
\begin{optiontable}
|
\begin{optiontable}
|
||||||
|
|
Loading…
Reference in New Issue