Commit Graph

23 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
7757d160bc RemoveChildren: use RefCountedFile instead of DupFile, skip seek for child dirs
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/e648c02e-d4cc-4f6c-8188-17941e8a1dd8

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-27 04:01:02 +00:00
copilot-swe-agent[bot]
708cff7f4b Convert RemoveChildren from recursive to iterative stack-based
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/bd5ca209-e811-4c49-bec7-5dd3a40d8c57

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-27 03:50:32 +00:00
Kovid Goyal
c655df1c2d ... 2026-04-27 09:12:43 +05:30
Kovid Goyal
9e59bf2f6a Avoid extra lstat() per entry when removing directory tree 2026-04-27 09:09:07 +05:30
Kovid Goyal
8c2c32a5a5 More work on the dnd kitten 2026-04-27 08:22:17 +05:30
Kovid Goyal
151fb9220f More work on dnd kitten 2026-04-26 20:45:41 +05:30
Kovid Goyal
ff560f615e ... 2026-04-26 13:15:08 +05:30
copilot-swe-agent[bot]
6000226cdf Add tests for file_at_fd.go and fix FD lifetime bug in CopyFolderContents
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/389bb81e-e9f9-4428-a79a-d8d461cfe943

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-25 11:30:59 +00:00
Kovid Goyal
a5940b4eb1 ... 2026-04-25 13:59:37 +05:30
Kovid Goyal
ecc241d891 For for background copy go routine to exit 2026-04-25 13:40:58 +05:30
Kovid Goyal
f6c0955e84 Read large directories in chunks for faster cancel 2026-04-25 13:34:21 +05:30
Kovid Goyal
a6e58e2ca9 Cleanup symlink seen handling 2026-04-25 13:25:33 +05:30
Kovid Goyal
5146cb388b Fix various minor bugs in copy folders 2026-04-25 13:02:27 +05:30
Kovid Goyal
8737da510f Add optional symlink following to copyfolder function 2026-04-25 12:08:56 +05:30
Kovid Goyal
4a5ab0a05e Fix various minor bugs in the copy folders function 2026-04-24 15:35:44 +05:30
Kovid Goyal
68a4623f37 DRYer 2026-04-24 15:12:24 +05:30
Kovid Goyal
55c4519707 More pointless UNIX variability 2026-04-24 14:56:29 +05:30
Kovid Goyal
0f81bca430 DRYer 2026-04-24 14:37:34 +05:30
Kovid Goyal
ca7388c145 Bloody lazy Crapple
No mknodat. Sigh.
2026-04-24 14:22:41 +05:30
Kovid Goyal
2c37fb4845 API to copy folder contents using dir fds
Also make the various fd based wrappers handle EINTR automatically.
2026-04-24 14:12:04 +05:30
Kovid Goyal
64342abda0 More work on the dnd kitten 2026-04-23 08:15:34 +05:30
Kovid Goyal
b4f7162a73 Use CLOEXEC with openat 2026-04-21 22:01:39 +05:30
Kovid Goyal
43035b7224 Rename at fd module 2026-04-21 21:59:05 +05:30