blob: d3a8861ad7c3d66d8239722a99a7b1667efe6fdd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
package org.javacs;
import java.time.Instant;
import java.util.List;
public class Index {
public static final Index EMPTY = new Index(List.of(), Instant.EPOCH);
public final List<Ref> refs;
// TODO modified time can rewind when you switch branches, need to track modified and look for exact match
public final Instant created;
public Index(List<Ref> refs, Instant created) {
this.refs = refs;
this.created = created;
}
}
|