Method
Action
(Kind kind, Trie filename, Range range, List<String> lines)
Source from the content-addressed store, hash-verified
| 220 | public final String[] lines; |
| 221 | |
| 222 | public Action(Kind kind, Trie filename, Range range, List<String> lines) { |
| 223 | this.kind = kind; |
| 224 | this.filename = filename; |
| 225 | this.range = range; |
| 226 | this.lines = lines.toArray(new String[lines.size()]); |
| 227 | } |
| 228 | |
| 229 | public void apply(Map<Trie,TextFile> state) { |
| 230 | if (kind == Kind.REMOVE && state.containsKey(filename)) { |
Callers
nothing calls this directly
Tested by
no test coverage detected