Class CosmosFileSystem
Inheritance
System.Object
CosmosFileSystem
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Cosmos.System_Plugs.System.IO
Assembly: Cosmos.System2_Plugs.dll
Syntax
public static class CosmosFileSystem
Methods
| Improve this Doc View SourceCopyFile(String, String, Boolean)
Declaration
public static void CopyFile(string sourceFullPath, string destFullPath, bool overwrite)
Parameters
Type | Name | Description |
---|---|---|
System.String | sourceFullPath | |
System.String | destFullPath | |
System.Boolean | overwrite |
CreateDirectory(String, Byte[])
Declaration
public static void CreateDirectory(string aPath, byte[] securityDescriptor = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | aPath | |
System.Byte[] | securityDescriptor |
DeleteFile(String)
Declaration
public static void DeleteFile(string fullPath)
Parameters
Type | Name | Description |
---|---|---|
System.String | fullPath |
DirectoryExists(String)
Declaration
public static bool DirectoryExists(string fullPath)
Parameters
Type | Name | Description |
---|---|---|
System.String | fullPath |
Returns
Type | Description |
---|---|
System.Boolean |
FileExists(String)
Declaration
public static bool FileExists(string fullPath)
Parameters
Type | Name | Description |
---|---|---|
System.String | fullPath |
Returns
Type | Description |
---|---|
System.Boolean |
MoveDirectory(String, String)
Declaration
public static void MoveDirectory(string sourceFullPath, string destFullPath)
Parameters
Type | Name | Description |
---|---|---|
System.String | sourceFullPath | |
System.String | destFullPath |
RemoveDirectory(String, Boolean)
Declaration
public static void RemoveDirectory(string fullPath, bool recursive)
Parameters
Type | Name | Description |
---|---|---|
System.String | fullPath | |
System.Boolean | recursive |