66 bool flag =
string.IsNullOrEmpty(
"value");
67 string text =
SR.
Format(
"Access to the path '{0}' is denied.",
"Access to the path is denied.");
379 private static extern int ReadLink(
string path,
byte[] buffer,
int bufferSize);
415 internal static extern int ChMod(
string path,
int mode);
427 internal static extern int LChflags(
string path, uint flags);
436 internal static extern int MkDir(
string path,
int mode);
class f__AnonymousType0<< Count > j__TPar
static int MkDir(string path, int mode)
static int Symlink(string target, string linkPath)
static int GetReadDirRBufferSize()
static int ChMod(string path, int mode)
static int LStat(ReadOnlySpan< char > path, [Out] Interop.Sys.FileStatus output)
static int CopyFile(SafeFileHandle source, SafeFileHandle destination)
static int ConvertErrorPalToPlatform(Interop.Error error)
static Interop.ErrorInfo GetLastErrorInfo()
static string StrError(int platformErrno)
static unsafe void GetNonCryptographicallySecureRandomBytes(byte *buffer, int length)
static IntPtr OpenDir(string path)
static int CloseDir(IntPtr dir)
static int LStat(byte path, [Out] Interop.Sys.FileStatus output)
static unsafe int DoubleToString(double value, byte *format, byte *buffer, int bufferLength)
static unsafe byte * StrErrorR(int platformErrno, byte *buffer, int bufferSize)
static int Unlink(string pathname)
static int Rename(string oldPath, string newPath)
static int Stat(ReadOnlySpan< char > path, [Out] Interop.Sys.FileStatus output)
static int LStat(string path, [Out] Interop.Sys.FileStatus output)
static int Stat(byte path, [Out] Interop.Sys.FileStatus output)
static int Stat(string path, [Out] Interop.Sys.FileStatus output)
static readonly bool CanSetHiddenFlag
static unsafe int ReadDirR(IntPtr dir, byte *buffer, int bufferSize, [Out] Interop.Sys.DirectoryEntry outputEntry)
static int LChflagsCanSetHiddenFlag()
static string ReadLink(string path)
static Interop.Error ConvertErrorPlatformToPal(int platformErrno)
static int Link(string source, string link)
static int ReadLink(string path, byte[] buffer, int bufferSize)
static int LChflags(string path, uint flags)
static int CheckIo(int result, [Optional] string path, bool isDirectory=false, [Optional] Func< Interop.ErrorInfo, Interop.ErrorInfo > errorRewriter)
static long CheckIo(long result, [Optional] string path, bool isDirectory=false, [Optional] Func< Interop.ErrorInfo, Interop.ErrorInfo > errorRewriter)
static Exception GetIOException(Interop.ErrorInfo errorInfo)
static unsafe void GetRandomBytes(byte *buffer, int length)
static Exception GetExceptionForIoErrno(Interop.ErrorInfo errorInfo, [Optional] string path, bool isDirectory=false)
static void ThrowExceptionForIoErrno(Interop.ErrorInfo errorInfo, string path, bool isDirectory, Func< Interop.ErrorInfo, Interop.ErrorInfo > errorRewriter)
static string Format(string resourceFormat, params object[] args)
override string ToString()
ErrorInfo(Interop.Error error)
Interop.Sys.NodeType InodeType
ReadOnlySpan< char > GetName(Span< char > buffer)
Interop.Sys.FileStatusFlags Flags