14 lines
No EOL
268 B
C#
14 lines
No EOL
268 B
C#
using Website.Data.States.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; }
|
|
}
|
|
} |