コード例 #1
0
ファイル: Repository.cs プロジェクト: redoz/refix
 public bool MoveToParent()
 {
     if (this._location.IsRoot)
         return false;
     else
     {
         this._location = this._location.Parent;
         return true;
     }
 }
コード例 #2
0
ファイル: Repository.cs プロジェクト: redoz/refix
 public void MoveToRoot()
 {
     this._location = this._location.Root;
 }
コード例 #3
0
ファイル: Repository.cs プロジェクト: redoz/refix
 //        private GitOBj _object;
 public RepositoryNavigator(LibGit2Sharp.IRepository git, Location location = null)
 {
     this._git = git;
     this._location = location;
       //          this._object
 }