Win32-2.14.0.0: A binding to Windows Win32 API.
Copyright2013 shelarcy
LicenseBSD-style
Maintainershelarcy@gmail.com
StabilityProvisional
PortabilityNon-portable (Win32 API)
Safe HaskellNone
LanguageHaskell2010

System.Win32.WindowsString.HardLink

Description

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

Documentation

createHardLink Source #

Arguments

:: 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.

createHardLink' Source #

Arguments

:: WindowsPath

Hard link name

-> WindowsPath

Target file path

-> IO ()