Use new projects API
This commit is contained in:
parent
11bca4cf53
commit
8bf483b334
24 changed files with 141 additions and 222 deletions
|
@ -1,14 +1,6 @@
|
|||
using Website.Data.States.Git;
|
||||
|
||||
namespace Website.Models.Git {
|
||||
namespace Website.Models.Git {
|
||||
public class Branch {
|
||||
|
||||
public Branch(BranchState state) {
|
||||
Name = state.name;
|
||||
Commit = new Commit(state.commit);
|
||||
}
|
||||
|
||||
public string Name { get; }
|
||||
public Commit Commit { get; private set; }
|
||||
public string Name { get; set; }
|
||||
public Commit Commit { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue