SharpCvsLib

Entry Members

Entry overview

Public Static (Shared) Fields

FILE_NAME The name of the entries file.

Public Static (Shared) Methods

CreateEntry Creates a new entry given the path to the file on the filesystem. The entry string is fabricated based on the full path of the file that is under or is to be placed under CVS management control.
IsDirectoryEntry Indicate if the file contents string is for a directory entry. This is identified by an entry line string that contains a "D" as the first character in the string.
ParseFileName Parse the name of the file from the cvs file.

Public Instance Constructors

EntryOverloaded. Initializes a new instance of the Entry class.

Public Instance Fields

NewEntry Indicator specifying if this is a new entry or not. The default value is
true
.

Public Instance Properties

Conflict String indicating a conflict with the server and client files (if any).
Date Date of the revision.
FileContents Outputs the formatted cvs entry.
Filename The name of the file to write to.
FullPath (inherited from AbstractCvsFile) The full path to the file or directory that this object is managing.
HasTag
true
if the cvs entry contains a
sticky-tag
; otherwise
false
.
IsBinaryFile
true
if the options tag specifies the file is binary (i.e. has the option
-kb
specified).
IsDirectory
true
if the item is a directory,
false
otherwise.
IsMultiLinedIndicates whether the file can contain multiple lines.
IsUtcTimeStamp Indicates whether the UTC timestamp should be used for files, or if the timestamp from the current timezone should be used.
LocalCvsFileFullPath (inherited from AbstractCvsFile) The full path to the local cvs management file.
Name The name of the file or directory.
Options TODO: figure out what this is for.
Path (inherited from AbstractCvsFile) Return the path to the file that this cvs object is controlling. In most cases this is just the full path to the object, however one known exception would be the Entry which would have file information stripped from the full path.
Revision The revision number for the file.
Tag Sticky tag for the file (if any).
TagFile Holds information on a tag file if there is a
sticky-tag
in the cvs directory. If there is no tag in the cvs directory then this value is null.
TimeStamp Timestamp for the file.
TypeThe type of file that this is.

Public Instance Methods

Equals Determine if the two objects are equal.
GetHashCode Override the hashcode. This is a combination of the entry name and the path to the entry file.
GetType (inherited from Object)
Parse Parses the cvs entries file.
SetTimeStamp Set the file timestamp.
ToString Return a human readable string that represents the entry object.

Protected Instance Methods

DeriveCvsFullPath Returns the full path to the CVS\Entries folder that this entry is managed by.
Finalize (inherited from Object)
MemberwiseClone (inherited from Object)

See Also

Entry Class | ICSharpCode.SharpCvsLib.FileSystem Namespace