Otter SDK Reference
Version:

ILinuxFileOperationsExecuter Interface

Indicates that an agent supports POSIX file operations.

Inheritance Hierarchy

  • Inedo.Agents.ILinuxFileOperationsExecuter

Syntax

public interface ILinuxFileOperationsExecuter : IFileOperationsExecuter

Methods

Name Description
CreateDirectoryAsync(string path, int posixFileMode)

Ensures that the directory with the specified path exists.

OpenFileAsync(string path, System.IO.FileMode fileMode, System.IO.FileAccess fileAccess, int posixFileMode)

Opens a file on the agent.

SetFileModeAsync(string path, int posixFileMode)

Writes the specified POSIX file mode to the file or directory.