-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Description
Description
- Introduce a new
link_skipaction in theFileHandlerclass, which provides a hybrid behavior betweenlink_reqandlink_opt. This method warns about missing target files but skips creating dead symlinks, preventing broken links in the filesystem.
Requirements
- Add
link_skipmethod to FileHandler: warn on missing target files but skip creating symlinks (no dead links).
Integrate with sync() factory; maintain backward compatibility withlink_reqandlink_opt.
Acceptance Criteria (Definition of Done)
- Method added and callable via 'link_skip'.
- Warns and skips on missing files; creates symlinks when files exist.
- Handles directories, removes existing links, passes all tests.
- Docstrings updated; no breaking changes.
(Optional): Suggest A Solution - Use existing _link_files with new
mode='skip': warn and continue on missing files. - Add method and update factory/docstrings.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels