Merge branch 'master' of git://factorcode.org/git/factor
commit
7eee8e7017
|
@ -155,10 +155,10 @@ M: pathname <=> [ pathname-string ] compare ;
|
||||||
: with-file-appender ( path quot -- )
|
: with-file-appender ( path quot -- )
|
||||||
>r <file-appender> r> with-stream ; inline
|
>r <file-appender> r> with-stream ; inline
|
||||||
|
|
||||||
: temp-dir ( -- path )
|
: temp-directory ( -- path )
|
||||||
"temp" resource-path
|
"temp" resource-path
|
||||||
dup exists? not
|
dup exists? not
|
||||||
[ dup make-directory ]
|
[ dup make-directory ]
|
||||||
when ;
|
when ;
|
||||||
|
|
||||||
: temp-file ( name -- path ) temp-dir swap path+ ;
|
: temp-file ( name -- path ) temp-directory swap path+ ;
|
Loading…
Reference in New Issue