C# Class GitSharp.Core.RefWriter

Writes out refs to the Constants.INFO_REFS and Constants.PACKED_REFS files. This class is abstract as the writing of the files must be handled by the caller. This is because it is used by transport classes as well.
Show file Open project: stschake/GitSharp

Public Methods

Method Description
writeInfoRefs ( ) : void
writePackedRefs ( ) : void

Protected Methods

Method Description
RefWriter ( IEnumerable refs ) : System
writeFile ( String file, byte content ) : void

Method Details

RefWriter() protected method

protected RefWriter ( IEnumerable refs ) : System
refs IEnumerable
return System

writeFile() protected abstract method

protected abstract writeFile ( String file, byte content ) : void
file String
content byte
return void

writeInfoRefs() public method

public writeInfoRefs ( ) : void
return void

writePackedRefs() public method

public writePackedRefs ( ) : void
return void