open-code-review/internal/diff
kite c5c0c5739e test(diff): add unit tests for readWorkspaceFileForDiff
Cover all key branches: regular file read, path traversal rejection,
directory rejection, parent symlink escape, external/internal symlink
target handling, and nonexistent file error.
2026-06-15 00:12:11 +08:00
..
git.go Fix workspace symlink diff containment (#125) 2026-06-15 00:03:36 +08:00
git_test.go Fix workspace symlink diff containment (#125) 2026-06-15 00:03:36 +08:00
hunk.go style: apply go fmt formatting 2026-06-03 17:34:28 +08:00
hunk_test.go feat: init 2026-05-20 22:03:52 +08:00
parser.go Fix workspace symlink diff containment (#125) 2026-06-15 00:03:36 +08:00
parser_test.go fix(diff): detect renamed and deleted files correctly in diff parsing (#105) 2026-06-14 22:29:02 +08:00
relocation.go feat(agent): integrate session recording and token tracking for re-location task 2026-05-30 23:25:12 +08:00
relocation_test.go refactor(llm): replace hand-rolled HTTP clients with official Anthropic and OpenAI SDKs 2026-06-06 19:26:34 +08:00
resolver.go feat(agent): integrate session recording and token tracking for re-location task 2026-05-30 23:25:12 +08:00
resolver_test.go refactor(diff): Simplify hunk resolution logic with helper functions 2026-05-23 00:36:51 +08:00
workspace_file.go Fix workspace symlink diff containment (#125) 2026-06-15 00:03:36 +08:00
workspace_file_test.go test(diff): add unit tests for readWorkspaceFileForDiff 2026-06-15 00:12:11 +08:00