]> gitweb.factorcode.org Git - factor.git/commit
io.files.temp: use OS tmp dir; add cache-directory
authorJoe Groff <arcata@gmail.com>
Sat, 31 Mar 2012 21:45:59 +0000 (14:45 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 16 Apr 2012 18:55:22 +0000 (11:55 -0700)
commit480545a683458002620be530fe73133937a2fd87
tree70aab011dd1cb15a36ba546d4e36affeb3f133ec
parentca4d5cbde0a1526fc9455e749a10641ff6a94c36
io.files.temp: use OS tmp dir; add cache-directory
Change temp-directory to return an OS-sanctioned temporary directory instead of "resource:temp". Add a new function cache-directory to return an OS-sanctioned directory for storing staging images etc. Fixes #365.
Windows implementation needs to be finished and tested.
basis/io/files/temp/macosx/macosx.factor [new file with mode: 0644]
basis/io/files/temp/macosx/platforms.txt [new file with mode: 0644]
basis/io/files/temp/temp-docs.factor
basis/io/files/temp/temp.factor
basis/io/files/temp/unix/platforms.txt [new file with mode: 0644]
basis/io/files/temp/unix/unix.factor [new file with mode: 0644]
basis/io/files/temp/windows/platforms.txt [new file with mode: 0644]
basis/io/files/temp/windows/windows.factor [new file with mode: 0644]