(list ...uint32)
| 99 | } |
| 100 | |
| 101 | func fileList(list ...uint32) string { |
| 102 | var buf []byte |
| 103 | |
| 104 | last := ^uint32(0) |
| 105 | for _, x := range list { |
| 106 | delta := x - last |
| 107 | for delta >= 0x80 { |
| 108 | buf = append(buf, byte(delta)|0x80) |
| 109 | delta >>= 7 |
| 110 | } |
| 111 | buf = append(buf, byte(delta)) |
| 112 | last = x |
| 113 | } |
| 114 | buf = append(buf, 0) |
| 115 | return string(buf) |
| 116 | } |
| 117 | |
| 118 | func buildFlushIndex(out string, paths []string, doFlush bool, fileData map[string]string) { |
| 119 | ix := Create(out) |
no outgoing calls
no test coverage detected
searching dependent graphs…