C# Class GitSharp.Core.Ref.Storage

Location where a Ref is Stored.
Show file Open project: stschake/GitSharp Class Usage Examples

Public Properties

Property Type Description
Loose GitSharp.Core.Storage
LoosePacked GitSharp.Core.Storage
Network GitSharp.Core.Storage
New GitSharp.Core.Storage
Packed GitSharp.Core.Storage

Private Methods

Method Description
Storage ( string name, bool loose, bool packed )

Property Details

Loose public static property

The ref is Stored in a file by itself. Updating this ref affects only this ref.
public static Storage,GitSharp.Core Loose
return GitSharp.Core.Storage

LoosePacked public static property

The ref is both Loose and Packed. Updating this ref requires only updating the loose file, but deletion requires updating both the loose file and the packed refs file.
public static Storage,GitSharp.Core LoosePacked
return GitSharp.Core.Storage

Network public static property

The ref came from a network advertisement and storage is unknown. This ref cannot be updated without Git-aware support on the remote side, as Git-aware code consolidate the remote refs and reported them to this process.
public static Storage,GitSharp.Core Network
return GitSharp.Core.Storage

New public static property

The ref does not exist yet, updating it may create it. Creation is likely to choose Loose storage.
public static Storage,GitSharp.Core New
return GitSharp.Core.Storage

Packed public static property

The ref is Stored in the packed-refs file, with others. Updating this ref requires rewriting the file, with perhaps many other refs being included at the same time.
public static Storage,GitSharp.Core Packed
return GitSharp.Core.Storage