123. DeNA TechCon 2020
#denatechcon
sig Branch {
co: one Commit
}
sig Commit {
parent: one Commit
}
pred commit (b, b': Branch)
{
b'.co.parent = b.co
b'.co not = b.co
}
run commit
125. DeNA TechCon 2020
#denatechcon
sig Branch {
co: one Commit
}
sig Commit {
parent: one Commit
}
pred commit (b, b': Branch)
{
b'.co.parent = b.co
b'.co not = b.co
}
run commit
126. DeNA TechCon 2020
#denatechcon
sig Branch {
co: one Commit
}
sig Commit {
parent: one Commit
}
pred commit (b, b': Branch)
{
b'.co.parent = b.co
b'.co not = b.co
}
run commit
128. DeNA TechCon 2020
#denatechcon
sig Branch {
co: one Commit
}
sig Commit {
parent: lone Commit
}
pred commit (b, b': Branch)
{
b'.co.parent = b.co
b'.co not = b.co
}
run commit
138. DeNA TechCon 2020
#denatechcon
sig Branch {
co: one Commit
}
fact {
one c: Commit | no c.parent
no iden & ^parent
}
sig Commit {
parent: lone Commit
}
pred commit (b, b': Branch) {
b'.co.parent = b.co
b'.co not = b.co
}
run commit