Skip to content

fix: list hardlink alternate paths in holds - #2

Merged
hc-ui merged 1 commit into
mainfrom
cursor/hardlink-paths-aa74
Aug 26, 2026
Merged

hc-ui merged 1 commit into
mainfrom
cursor/hardlink-paths-aa74

Conversation

@hc-ui

@hc-ui hc-ui commented Aug 26, 2026

Copy link
Copy Markdown
Owner

改动

Linux 已经能通过 inode 认出 hardlink 占用(标 fd (hardlink)),但 holds: 路径列表是空的。现在会把实际打开的另一条路径写进去。

与已有 draft「拒绝结束父 shell」互补,不重复。两边都冲了 0.3.1,合并时请先合一侧再改 version。

没有 PR 模板。

验证

PYTHONPATH=src python3 -m pytest -q 本机 66 passed,含新增 test_hardlink_paths.py。

@hc-ui
hc-ui marked this pull request as ready for review August 26, 2026 10:29
@hc-ui
hc-ui merged commit a0ff675 into main Aug 26, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant