Oops
parent
023ae576b5
commit
7b62d19924
|
@ -0,0 +1,9 @@
|
|||
USING: help.markup help.syntax ;
|
||||
IN: io.files.temp
|
||||
|
||||
ARTICLE: "io.files.temp" "Temporary files"
|
||||
"Pathnames relative to Factor's temporary files directory:"
|
||||
{ $subsection temp-directory }
|
||||
{ $subsection temp-file } ;
|
||||
|
||||
ABOUT: "io.files.temp"
|
|
@ -0,0 +1,10 @@
|
|||
! Copyright (C) 2008 Slava Pestov, Doug Coleman.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: kernel io.pathnames io.directories ;
|
||||
IN: io.files.temp
|
||||
|
||||
: temp-directory ( -- path )
|
||||
"temp" resource-path dup make-directories ;
|
||||
|
||||
: temp-file ( name -- path )
|
||||
temp-directory prepend-path ;
|
Loading…
Reference in New Issue