aboutsummaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-rw-r--r--os/posix/Symlink.hs2
-rw-r--r--os/win/Symlink.hs3
2 files changed, 5 insertions, 0 deletions
diff --git a/os/posix/Symlink.hs b/os/posix/Symlink.hs
new file mode 100644
index 0000000..6d97072
--- /dev/null
+++ b/os/posix/Symlink.hs
@@ -0,0 +1,2 @@
+module Symlink (createSymbolicLink) where
+import System.Posix.Files (createSymbolicLink)
diff --git a/os/win/Symlink.hs b/os/win/Symlink.hs
new file mode 100644
index 0000000..335f1c4
--- /dev/null
+++ b/os/win/Symlink.hs
@@ -0,0 +1,3 @@
+module Symlink (createSymbolicLink) where
+import System.Win32.SymbolicLink (createSymbolicLinkFile)
+createSymbolicLink = createSymbolicLinkFile