Example #1
0
 internal static bool NonWindowsIsHardLink(FileSystemInfo fileInfo)
 {
     return(Unix.IsHardLink(fileInfo));
 }
Example #2
0
        // Platform methods prefixed NonWindows are:
        // - non-windows by the definition of the IsWindows method above
        // - here, because porting to Linux and other operating systems
        //   should not move the original Windows code out of the module
        //   it belongs to, so this way the windows code can remain in it's
        //   original source file and only the non-windows code has been moved
        //   out here
        // - only to be used with the IsWindows feature query, and only if
        //   no other more specific feature query makes sense

        internal static bool NonWindowsIsHardLink(ref IntPtr handle)
        {
            return(Unix.IsHardLink(ref handle));
        }