File: todo.go

package info (click to toggle)
golang-github-pkg-diff 0.0~git20210226.20ebb0f-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 3,528 kB
  • sloc: makefile: 3
file content (6 lines) | stat: -rw-r--r-- 341 bytes parent folder | download
1
2
3
4
5
6
package ctxt

// TODO: the standard way to reduce context is to a fixed number of lines around changes.
// But it would be better to be more flexible, to try to match human needs.
// For example, if I deleted the first line of a function, I don't need three full lines of "before" context;
// it should truncate at the function declaration.