DirectoryRaftRepository2 Class

A simple disk-based repository.

Inheritance Hierarchy

Syntax

public class DirectoryRaftRepository2 : Inedo.Extensibility.RaftRepositories.RaftRepository2, System.IDisposable

Constructors

Name Description
DirectoryRaftRepository2

Properties

Name Description
IsReadOnly
ReadOnly

Gets or sets a value indicating whether the repository should be treated as read only.

RepositoryPath

Gets or sets the disk path.

Methods

Name Description
DeleteRaftItem(Inedo.Extensibility.RaftRepositories.RaftItemType type, string name)
DeleteVariable(Inedo.ExecutionEngine.RuntimeVariableName name)
GetDescription
GetProjects(bool recursive)
GetProjectScopedRaftRepository(string project)
GetRaftItem(Inedo.Extensibility.RaftRepositories.RaftItemType type, string name, string version)
GetRaftItems
GetVariables
SetVariable(Inedo.ExecutionEngine.RuntimeVariableName name, string value)
WriteRaftItem(Inedo.Extensibility.RaftRepositories.RaftItemType type, string name, byte[] content, System.DateTimeOffset? timestamp, string userName)
WriteRaftItem(Inedo.Extensibility.RaftRepositories.RaftItemType type, string name, System.IO.Stream content, System.DateTimeOffset? timestamp, string userName)
WriteRaftItem(Inedo.Extensibility.RaftRepositories.RaftItemType type, string name, string content, System.DateTimeOffset? timestamp, string userName)

Remarks

This is the base class of the built-in disk repository, and is provided as a convenience to implementors of additional repository types.