InedoSDK Reference
Version:

FileOperationsExecuter Class

Inheritance Hierarchy

  • object
    • Inedo.Agents.FileOperationsExecuter

Syntax

public class FileOperationsExecuter

Methods

Name Description
AddAttributes(IFileOperationsExecuter agent, string path, System.IO.FileAttributes attributes)
AddAttributesAsync(IFileOperationsExecuter agent, string path, System.IO.FileAttributes attributes)
AppendAllText(IFileOperationsExecuter agent, string path, string contents)
AppendAllText(IFileOperationsExecuter agent, string path, string contents, System.Text.Encoding encoding)
AppendAllTextAsync(IFileOperationsExecuter agent, string path, string contents)
AppendAllTextAsync(IFileOperationsExecuter agent, string path, string contents, System.Text.Encoding encoding)
CanonicalizePath(IFileOperationsExecuter agent, string path)
ClearDirectory(IFileOperationsExecuter agent, string path)
CombinePath(IFileOperationsExecuter agent, string[] paths)
CopyFile(IFileOperationsExecuter agent, string sourcePath, string targetPath, bool overwrite)
CreateDirectory(IFileOperationsExecuter agent, string path)
CreateZipFile(IFileOperationsExecuter agent, string sourcePath, string targetFileName)
DeleteDirectories(IFileOperationsExecuter agent, string[] directoryNames)
DeleteDirectory(IFileOperationsExecuter agent, string dirName)
DeleteDirectoryAsync(IFileOperationsExecuter agent, string dirName)
DeleteFile(IFileOperationsExecuter agent, string fileName)
DeleteFileAsync(IFileOperationsExecuter agent, string fileName)
DeleteFiles(IFileOperationsExecuter agent, string[] fileNames)
DirectoryExists(IFileOperationsExecuter agent, string path)
ExtractZipFile(IFileOperationsExecuter agent, string sourceFileName, string targetPath, Inedo.IO.FileCreationOptions options)
FileCopyBatch(IFileOperationsExecuter agent, string sourceDirName, string[] sourceFileNames, string destDirName, string[] destFileNames, bool overwrite, bool createDirectory)
FileExists(IFileOperationsExecuter agent, string path)
GetAttributes(IFileOperationsExecuter agent, string path)
GetBaseWorkingDirectory(IFileOperationsExecuter agent)
GetDirectoryInfo(IFileOperationsExecuter agent, string path)
GetFileInfo(IFileOperationsExecuter agent, string path)
GetFileSystemInfos(IFileOperationsExecuter agent, string path, Inedo.IO.MaskingContext mask)
MoveDirectory(IFileOperationsExecuter agent, string sourceDirName, string destDirName)
MoveFile(IFileOperationsExecuter agent, string sourceFileName, string targetFileName, bool overwrite)
OpenFile(IFileOperationsExecuter agent, string path, System.IO.FileMode fileMode, System.IO.FileAccess fileAccess)
ReadAllLines(IFileOperationsExecuter agent, string path)
ReadAllLines(IFileOperationsExecuter agent, string path, System.Text.Encoding encoding)
ReadAllLinesAsync(IFileOperationsExecuter agent, string path)
ReadAllLinesAsync(IFileOperationsExecuter agent, string path, System.Text.Encoding encoding)
ReadAllText(IFileOperationsExecuter agent, string path)
ReadAllText(IFileOperationsExecuter agent, string path, System.Text.Encoding encoding)
ReadAllTextAsync(IFileOperationsExecuter agent, string path)
ReadAllTextAsync(IFileOperationsExecuter agent, string path, System.Text.Encoding encoding)
ReadFileBytes(IFileOperationsExecuter agent, string path)
ReadFileBytesAsync(IFileOperationsExecuter agent, string path)
RemoveAttributes(IFileOperationsExecuter agent, string path, System.IO.FileAttributes attributes)
RemoveAttributesAsync(IFileOperationsExecuter agent, string path, System.IO.FileAttributes attributes)
SetAttributes(IFileOperationsExecuter agent, string path, System.IO.FileAttributes fileAttributes)
SetLastWriteTime(IFileOperationsExecuter agent, string path, System.DateTime lastModified)
WriteAllText(IFileOperationsExecuter agent, string path, string contents)
WriteAllText(IFileOperationsExecuter agent, string path, string contents, System.Text.Encoding encoding)
WriteAllTextAsync(IFileOperationsExecuter agent, string path, string contents)
WriteAllTextAsync(IFileOperationsExecuter agent, string path, string contents, System.Text.Encoding encoding)
WriteFileBytes(IFileOperationsExecuter agent, string path, byte[] bytes)
WriteFileBytesAsync(IFileOperationsExecuter agent, string path, byte[] bytes)