Click or drag to resize

FileHelpers Methods

The FileHelpers type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCopyFilesRecursively(String, String)
Copy all the files found from one root folder to the target folder. This is a recursive function, and it will keep the relative folder structure as it copies.
Public methodStatic memberCopyFilesRecursively(String, String, String)
Copy all the files found with the wildcard from one root folder to the target folder. This is a recursive function, and it will keep the relative folder structure as it copies.
Public methodStatic memberDeleteEverything(String)
Delete all files and folders in the path specified
Public methodStatic memberDeleteEverything(String, Boolean)
Delete all files and folders in the path specified
Public methodStatic memberEnsureNotReadonly
Ensure file is not read-only
Public methodStatic memberFixSlashesforPlatform
Replace the AltDirectorySeparatorChar with the DirectorySeparatorChar for the platform
Public methodStatic memberFixSlashesforUnity
Replace the '\\' with '/' so Unity does not complain
Top
See Also