Copyright | 2013 shelarcy |
---|---|
License | BSD-style |
Maintainer | shelarcy@gmail.com |
Stability | Provisional |
Portability | Non-portable (Win32 API) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Handling hard link using Win32 API. [NTFS only]
Note: You should worry about file system type when use this module's function in your application:
- NTFS only supprts this functionality.
- ReFS doesn't support hard link currently.
Synopsis
- createHardLink :: WindowsPath -> WindowsPath -> IO ()
- createHardLink' :: WindowsPath -> WindowsPath -> IO ()
Documentation
:: WindowsPath | Target file path |
-> WindowsPath | Hard link name |
-> IO () |
NOTE: createHardLink is flipped arguments to provide compatibility for Unix.
If you want to create hard link by Windows way, use createHardLink'
instead.
:: WindowsPath | Hard link name |
-> WindowsPath | Target file path |
-> IO () |