Slide 31
Slide 31 text
Pseudocode
Interface CommitCoordinator {
// Commits the given iterator of changes to a given version
def commit(version, content): Commit
// Returns the uuid commits in the given range (if any)
def getCommits(from, optional_to): Array[Commit]
}
Class Commit {
String path;
Int length;
Long commitTime;
}
31
コミット・コーディネーター・インターフェース
このインターフェイスを実
装することで、コミット・コー
ディネーターになれる、君
もなれる
シンプル、柔軟、オープン