Interface IBuilder
Builds a file system directory.
Inherited Members
Namespace: ZeroInstall.Store.FileSystem
Assembly: ZeroInstall.Store.dll
Syntax
public interface IBuilder : IForwardOnlyBuilder
Methods
MarkAsExecutable(String)
Marks a previously added file as executable.
Declaration
void MarkAsExecutable(string path)
Parameters
Type | Name | Description |
---|---|---|
String | path | The path of the file to create relative to the implementation root. |
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | Access to a resource was denied. |
IOException | An IO operation failed. |
Remove(String)
Removes a file or directory from the implementation.
Declaration
void Remove(string path)
Parameters
Type | Name | Description |
---|---|---|
String | path | The path of the file or directory relative to the implementation root. |
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | Access to a resource was denied. |
IOException | An IO operation failed. |
Rename(String, String)
Renames a file or directory in the implementation.
Declaration
void Rename(string path, string target)
Parameters
Type | Name | Description |
---|---|---|
String | path | The original path of the file or directory relative to the implementation root. |
String | target | The new path of the file or directory relative to the implementation root. |
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | Access to a resource was denied. |
IOException | An IO operation failed. |
TurnIntoSymlink(String)
Turns a previously added file into a symlink.
Declaration
void TurnIntoSymlink(string path)
Parameters
Type | Name | Description |
---|---|---|
String | path | The path of the symlink to create relative to the implementation root. |
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | Access to a resource was denied. |
IOException | An IO operation failed. |