Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ RemoveDirectory()

static void System.IO.FileSystem.RemoveDirectory ( string fullPath,
bool recursive )
inlinestatic

Definition at line 364 of file FileSystem.cs.

365 {
366 if (!recursive)
367 {
369 return;
370 }
374 {
376 return;
377 }
378 fullPath = PathInternal.EnsureExtendedPrefix(fullPath);
380 }
static bool IsNameSurrogateReparsePoint(ref Interop.Kernel32.WIN32_FIND_DATA data)
static void GetFindData(string fullPath, bool isDirectory, bool ignoreAccessDenied, ref Interop.Kernel32.WIN32_FIND_DATA findData)
static void RemoveDirectoryInternal(string fullPath, bool topLevel, bool allowDirectoryNotEmpty=false)
static void RemoveDirectoryRecursive(string fullPath, ref Interop.Kernel32.WIN32_FIND_DATA findData, bool topLevel)

References System.IO.PathInternal.EnsureExtendedPrefix(), System.IO.FileSystem.GetFindData(), System.IO.FileSystem.IsNameSurrogateReparsePoint(), System.IO.FileSystem.RemoveDirectoryInternal(), and System.IO.FileSystem.RemoveDirectoryRecursive().

Referenced by System.IO.DirectoryInfo.Delete(), System.IO.Directory.Delete(), and System.IO.Directory.Delete().