BuildMaster SDK Reference
Version:

SourceControlProviderBase Class

Base class for all source control providers.

Inheritance Hierarchy

Syntax

public class SourceControlProviderBase : ProviderBase, System.IDisposable, Inedo.Diagnostics.ILogger

Constructors

Name Description
SourceControlProviderBase

Initializes a new instance of the SourceControlProviderBase class.

Properties

Name Description
DirectorySeparator

Gets the System.Char used by the provider to separate directories/files in a path string.

Methods

Name Description
CreateSourceControlContext(object contextData)

When overridden in a derived class, creates a source control context from a specified object.

GetDirectoryEntryInfo(string sourcePath)

When implemented in a derived class, returns a Inedo.BuildMaster.Files.DirectoryEntryInfo object from the specified source path.

GetFileContents(string filePath)

When implemented in a derived class, returns the contents of the specified file.

GetLatest(string sourcePath, string targetPath)

When implemented in a derived class, retrieves the latest version of the source code from the provider's source path into the target path.