|
|
|
|
|
by sly010
3191 days ago
|
|
I would add that in general there is no one right abstraction. If you want to be able to change the source file, you are best of using symlinks. If you want to be able to change both files and keep them in sync, you should use a hardlink. If you want to create a true copy and modify them independently, just make a copy.
Also worth mentioning that most COW file systems support block level deduplication, so if enabled, two files with the same content will be stored only once. |
|
The versioned database takes care of grouping related edits and lets you point at a specific, immutable version. While bidirectional links let you efficiently find all usage sites so that you can make an informed decision as to whether they need updating.