Interface IPlatformFileHelper
- Namespace
- TaleWorlds.Library
- Assembly
- TaleWorlds.Library.dll
public interface IPlatformFileHelper
Methods
AppendLineToFileString(PlatformFilePath, string)
SaveResult AppendLineToFileString(PlatformFilePath path, string data)
Parameters
pathPlatformFilePathdatastring
Returns
DeleteFile(PlatformFilePath)
bool DeleteFile(PlatformFilePath path)
Parameters
pathPlatformFilePath
Returns
FileExists(PlatformFilePath)
bool FileExists(PlatformFilePath path)
Parameters
pathPlatformFilePath
Returns
GetError()
string GetError()
Returns
GetFileContent(PlatformFilePath)
byte[] GetFileContent(PlatformFilePath filePath)
Parameters
filePathPlatformFilePath
Returns
- byte[]
GetFileContentString(PlatformFilePath)
string GetFileContentString(PlatformFilePath path)
Parameters
pathPlatformFilePath
Returns
GetFileContentStringAsync(PlatformFilePath)
Task<string> GetFileContentStringAsync(PlatformFilePath path)
Parameters
pathPlatformFilePath
Returns
GetFileFullPath(PlatformFilePath)
string GetFileFullPath(PlatformFilePath filePath)
Parameters
filePathPlatformFilePath
Returns
GetFiles(PlatformDirectoryPath, string)
PlatformFilePath[] GetFiles(PlatformDirectoryPath path, string searchPattern)
Parameters
pathPlatformDirectoryPathsearchPatternstring
Returns
SaveFile(PlatformFilePath, byte[])
SaveResult SaveFile(PlatformFilePath path, byte[] data)
Parameters
pathPlatformFilePathdatabyte[]
Returns
SaveFileAsync(PlatformFilePath, byte[])
Task<SaveResult> SaveFileAsync(PlatformFilePath path, byte[] data)
Parameters
pathPlatformFilePathdatabyte[]
Returns
SaveFileString(PlatformFilePath, string)
SaveResult SaveFileString(PlatformFilePath path, string data)
Parameters
pathPlatformFilePathdatastring
Returns
SaveFileStringAsync(PlatformFilePath, string)
Task<SaveResult> SaveFileStringAsync(PlatformFilePath path, string data)
Parameters
pathPlatformFilePathdatastring
Returns
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).