Differences From Artifact [b2d6e402f0]:
- File src/0dev.org/commands/plaindiff/main.go — part of check-in [c9f3a59cb6] at 2014-12-19 21:54:39 on branch trunk — Implemented commands/pdc using predictor. Made predictor's Compressor(...) return an io.Writer. (user: spaskalev, size: 3277) [annotate] [blame] [check-ins using]
To Artifact [98fd531468]:
- File src/0dev.org/commands/plaindiff/main.go — part of check-in [9f5054e305] at 2014-12-30 15:01:38 on branch trunk — Minor opmitization to fibonacci's decoding. Changed plaindiff to show line numbers starting from 1. (user: spaskalev, size: 3327) [annotate] [blame] [check-ins using]
︙ | |||
29 30 31 32 33 34 35 | 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | - + | gen := source(result) out := bufio.NewWriter(os.Stdout) for have, added, mark := gen(); have; have, added, mark = gen() { var from []line = hd.line(!added) fmt.Fprintln(out) for i := mark.From; i < mark.Length; i++ { |
︙ |