(offset int)
| 2272 | const blameCursorPrefix = "blame-range:" |
| 2273 | |
| 2274 | func encodeBlameCursor(offset int) string { |
| 2275 | return base64.RawURLEncoding.EncodeToString(fmt.Appendf(nil, "%s%d", blameCursorPrefix, offset)) |
| 2276 | } |
| 2277 | |
| 2278 | func decodeBlameCursor(cursor string) (int, error) { |
| 2279 | if cursor == "" { |
no outgoing calls