Next: parser-tools unix-pathnames conv, Previous: parser-tools unix-pathnames errors, Up: parser-tools unix-pathnames [Index]
The following bindings are exported by the library (vicare
parser-tools unix-pathnames)
.
Return #t
if obj is a string or bytevector acceptable as
representation of a Unix pathname; otherwise return #f
. If
obj is neither string nor bytevector: return #f
.
bytevector-pathname?
returns #f
if obj is not a
bytevector. string-pathname?
returns #f
if obj is
not a string. $bytevector-pathname?
assumes that bv is a
bytevector. $string-pathname?
assumes that str is a
string.
Return #t
if obj is a string or bytevector acceptable as
representation of a Unix pathname segment; otherwise return #f
.
If obj is neither string nor bytevector: return #f
.
bytevector-segment?
returns #f
if obj is not a
bytevector. string-segment?
returns #f
if obj is not
a string. $bytevector-segment?
assumes that bv is a
bytevector. $string-segment?
assumes that str is a string.
Return #t
if obj is a null or a proper list of strings and/or
bytevectors each acceptable as representation of a Unix pathname
segment; otherwise return #f
.
Return #t
if obj is a string or bytevector acceptable as
representation of absolute Unix pathname; otherwise return #f
. If
obj is not a valid representation of Unix pathname: raise an
exception.
$bytevector-absolute?
assumes that bv satisfies the
predicate bytevector-pathname?
. $string-absolute?
assumes
that str satisfies the predicate string-pathname?
.
Return #t
if obj is a string or bytevector acceptable as
representation of absolute Unix pathname; otherwise return #f
. If
obj is not a valid representation of Unix pathname: raise an
exception.
$bytevector-relative?
assumes that bv satisfies the
predicate bytevector-pathname?
. $string-relative?
assumes
that str satisfies the predicate string-pathname?
.
Next: parser-tools unix-pathnames conv, Previous: parser-tools unix-pathnames errors, Up: parser-tools unix-pathnames [Index]