SharpCvsLib

Manager.FetchSingle Method (String, FileType, String)

Fetch a single entry. If more than one entry is found then an exception is thrown.

[Visual Basic]
Overloads Public Function FetchSingle( _
   ByVal path As String, _
   ByVal fileType As FileType, _
   ByVal filename As String _
) As ICvsFile
[C#]
public ICvsFile FetchSingle(
   string path,
   FileType fileType,
   string filename
);

Parameters

path
The path to the current working directory or to the cvs directory.
fileType
The type of cvs file to fetch.
filename
The name of the specific entry to search for.

Return Value

A single Cvs file

Exceptions

Exception TypeCondition
FileNotFoundExceptionIf the cvs file cannot be found.

See Also

Manager Class | ICSharpCode.SharpCvsLib.FileSystem Namespace | Manager.FetchSingle Overload List