FileSystem: Add CreateSymLink function

This commit is contained in:
chaoticgd
2024-12-14 13:41:01 -05:00
committed by Ty
parent b8ff171127
commit 1ed3001358
3 changed files with 30 additions and 3 deletions
+4
View File
@@ -178,6 +178,10 @@ namespace FileSystem
/// Does nothing and returns false on non-Windows platforms.
bool SetPathCompression(const char* path, bool enable);
// Creates a symbolic link. Note that on Windows this requires elevated
// privileges so this is mostly useful for testing purposes.
bool CreateSymLink(const char* link, const char* target);
/// Checks if a file or directory is a symbolic link.
bool IsSymbolicLink(const char* path);