Handbook
Glossary
pathname
Factor handbook
»
Input and output
»
Pathnames
»
Pathname presentations
Next:
<pathname> ( string -- pathname )
Vocabulary
io
.
pathnames
Class description
Class of path name objects. Path name objects can be created by calling
<pathname>
.
Definition
IN:
io.pathnames
TUPLE:
pathname
string
;
Methods
USING:
accessors
io.pathnames
math.order
;
M:
pathname
<=>
[
string>>
]
compare
;
USING:
accessors
io.pathnames
urls
;
M:
pathname
>url
string>>
>url
;
USING:
accessors
io.pathnames
;
M:
pathname
absolute-path
string>>
absolute-path
;
USING:
accessors
definitions
io.pathnames
source-files
;
M:
pathname
forget*
string>>
forget-source
;
USING:
accessors
io.pathnames
xmode.highlight
;
M:
pathname
highlight.
string>>
highlight.
;
USING:
images.loader
io.encodings.binary
io.files
io.pathnames
kernel
;
M:
pathname
load-image*
[
binary
<file-reader>
]
dip
stream>image
;
USING:
bencode
bittorrent
io.encodings.binary
io.files
io.pathnames
;
M:
pathname
load-metainfo
binary
[
read-bencode
]
with-file-reader
;
USING:
game.models.loader
game.models.loader.private
io.pathnames
kernel
;
M:
pathname
load-models*
[
open-models-file
]
dip
stream>models
;
USING:
accessors
io.pathnames
kernel
prettyprint.backend
prettyprint.custom
;
M:
pathname
pprint*
dup
string>>
"P\" "
"\""
pprint-string
;
USING:
accessors
io.pathnames
present
;
M:
pathname
present
string>>
;
USING:
accessors
images.loader
images.viewer
io.pathnames
;
M:
pathname
set-image
string>>
load-image
>>image
;
USING:
io.pathnames
prettyprint.custom
see
;
M:
pathname
synopsis*
pprint*
;
USING:
accessors
html.streams
io.pathnames
kernel
sequences
splitting
;
M:
pathname
url-of
string>>
"resource:"
?head
[
"https://github.com/factor/factor/blob/master/"
prepend
]
[
drop
f
]
if
;
USING:
accessors
io.pathnames
kernel
source-files
tools.crossref
;
M:
pathname
uses
string>>
path>source-file
top-level-form>>
[
uses
]
[
{
}
]
if*
;
USING:
accessors
arrays
definitions
io.pathnames
;
M:
pathname
where
string>>
1
2array
;