C# Класс GitSharp.Core.PackLock

Keeps track of a PackFile associated .keep file.
Показать файл Открыть проект

Открытые методы

Метод Описание
Lock ( string msg ) : bool

Create the pack-*.keep file, with the given message.

PackLock ( FileInfo packFile ) : System.IO

Create a new lock for a pack file.

Unlock ( ) : void

Remove the .keep file that holds this pack in place.

Описание методов

Lock() публичный Метод

Create the pack-*.keep file, with the given message.
/// The keep file could not be written. ///
public Lock ( string msg ) : bool
msg string message to store in the file.
Результат bool

PackLock() публичный Метод

Create a new lock for a pack file.
public PackLock ( FileInfo packFile ) : System.IO
packFile System.IO.FileInfo /// Location of the pack-*.pack file. ///
Результат System.IO

Unlock() публичный Метод

Remove the .keep file that holds this pack in place.
public Unlock ( ) : void
Результат void