1 ! Copyright (C) 2008 Slava Pestov, Doug Coleman.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: system kernel vocabs.loader ;
6 HOOK: make-link os ( target symlink -- )
8 HOOK: read-link os ( symlink -- path )
10 : copy-link ( target symlink -- )
11 [ read-link ] dip make-link ;
13 os unix? [ "io.files.links.unix" require ] when