C# Class NGit.Util.QuotedString.GitPathStyle

Quoting style that obeys the rules Git applies to file names
Inheritance: QuotedString
Show file Open project: red-gate/ngit

Public Methods

Method Description
Dequote ( byte @in, int inPtr, int inEnd ) : string
GitPathStyle ( ) : System
Quote ( string instr ) : string

Using rules from https://github.com/ethomson/libgit2/blob/apply/src/buffer.c#L862 and http://marc.info/?l=git&m=112927316408690&w=2

Private Methods

Method Description
AppendCharacter ( byte buf, int i, StringBuilder quoted ) : void
Dq ( byte @in, int inPtr, int inEnd ) : string
GetIndexToStartQuoting ( byte buf ) : int

Method Details

Dequote() public method

public Dequote ( byte @in, int inPtr, int inEnd ) : string
@in byte
inPtr int
inEnd int
return string

GitPathStyle() public method

public GitPathStyle ( ) : System
return System

Quote() public method

Using rules from https://github.com/ethomson/libgit2/blob/apply/src/buffer.c#L862 and http://marc.info/?l=git&m=112927316408690&w=2
public Quote ( string instr ) : string
instr string
return string