MacDownApp / MacDownApp/macdown

MacDown breaks hard link of a file it edited

Open
#735 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rich Text Format
Stars
9.8k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

MacDown breaks hard link of a file it edited.
For example, file A is hard-linked to file B. Using tools like vim, if A is modified, so will be B, which is fine. But with MacDown, after A is modified and saved, B will not.
I think during save, the old A is deleted and a new A is created, which is a new ordinary file instead of a hard link.
Wish MacDown keeps A as a hard link after modification! Thanks!

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is named in the issue. Begin by locating MacDown's save path and verify how it handles a file with a hard link; done means saving A preserves the hard-link relationship so changes remain visible through B.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, objective-c
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.