Provides methods for creating, manipulating, searching, and sorting arrays.
Defines common cross-platform macros, export decorators, and fundamental types.
#define DOTNETDUPE_API
Platform-specific linkage decoration for exporting or importing library symbols.
Base object class for DotNetDupe mirroring .NET System.Object.
High-performance UTF-8 / UTF-16 string manipulation class mirroring .NET System.String.
Represents character encodings and code page conversions.
Provides methods for creating, manipulating, searching, and sorting arrays, thereby serving as the ba...
Exposes static methods for creating, moving, and enumerating through directories and subdirectories.
Provides static methods for the creation, copying, deletion, moving, and opening of files.
static bool GetAttributes(const String &sPath, FileAttributes &attrAttributes)
static void Copy(const String &sSourceFileName, const String &sDestFileName, bool bOverwrite)
Copies an existing file to a new file, allowing overwriting of an existing file.
static bool SetAttributes(const String &sPath, FileAttributes attrAttributes)
static void WriteAllText(const String &sPath, const String &sContents)
Creates a new file, writes the specified string to the file, and then closes the file.
static bool Exists(const String &sPath)
Determines whether the specified file exists.
static void AppendAllText(const String &sPath, const String &sContents)
static String ReadAllText(const String &sPath)
Opens a text file, reads all the text in the file, and then closes the file.
static void AppendAllLines(const String &sPath, const Array< String > &sContents)
static void WriteAllLines(const String &sPath, const Array< String > &sContents)
static void Delete(const String &sPath)
Deletes the specified file.
static void Create(const String &sPath)
static void Move(const String &sSourceFileName, const String &sDestFileName)
Moves a specified file to a new location.
static Array< String > ReadAllLines(const String &sPath)
Supports all classes in the DotNetDupe class hierarchy.
Represents text as a sequence of UTF-8 code units with culture-invariant operations.
FileAttributes
Provides attributes for files and directories.