Handbook
Glossary
default-cache-directory ( -- path )
Vocabulary
io
.
files
.
temp
Inputs
None
Outputs
path
an
object
Definition
USING:
system
;
IN:
io.files.temp
HOOK:
default-cache-directory
os
( -- path )
Methods
USING:
cocoa.plists
generic
io.files.temp
io.files.temp.macos.private
kernel
system
;
M:
macos
default-cache-directory
NSCachesDirectory
NSUserDomainMask
1
NSSearchPathForDirectoriesInDomains
plist>
first-existing
[
M\
macos
default-cache-directory
(call-next-method)
]
unless*
factor-bundle-subdir
;
USING:
io.files.temp
io.pathnames
system
xdg
;
M:
unix
default-cache-directory
xdg-cache-home
"factor"
append-path
absolute-path
;