Beispiel #1
0
 public Graph(Repository repository)
 {
     this.repository = repository;
     this.Name = repository.Name;
     this.Id = repository.Id;
 }
Beispiel #2
0
 public static Repository Open(string directory)
 {
     var repo = new Repository
     {
         Name = Path.GetFileNameWithoutExtension(directory),
         RepoFolder = directory,
         Id = GetId(directory)
     };
     return repo;
 }