C# Class LibGit2Sharp.Blob

Stores the binary content of a tracked file.
Inheritance: GitObject
Show file Open project: tclem/libgit2sharp Class Usage Examples

Public Methods

Method Description
BuildFromPtr ( IntPtr obj, ObjectId id, Repository repo ) : Blob
ContentAsUnicode ( ) : string
ContentAsUtf8 ( ) : string

Private Methods

Method Description
Blob ( Repository repo, ObjectId id ) : System

Method Details

BuildFromPtr() public static method

public static BuildFromPtr ( IntPtr obj, ObjectId id, Repository repo ) : Blob
obj System.IntPtr
id ObjectId
repo Repository
return Blob

ContentAsUnicode() public method

public ContentAsUnicode ( ) : string
return string

ContentAsUtf8() public method

public ContentAsUtf8 ( ) : string
return string