Expand description
This module contains the LinkAction that creates a new symlink when executed
Structs§
- Link
Action - LinkAction creates a new symlink
paththat points totarget.
Constants§
- CREATE_
PARENT_ DIRS_ SETTING - Create parent dirs if they don’t exist
- FORCE_
SETTING - Force setting, replaces any other file or directory
- IGNORE_
MISSING_ TARGET_ SETTING - Create the symlink even if the target file does not exist
- PATH_
SETTING - Path setting (path of the symlink)
- RELINK_
SETTING - Relink setting, if true the action relinks an existing symlink (applies if force is false)
- RESOLVE_
SYMLINK_ TARGET_ SETTING - Resolves the target if it is a symlink and uses the final target file as the target.
- TARGET_
SETTING - Target setting (path to the file the symlink points to)
Functions§
- default_
settings - Initialize the defaults for the LinkAction.
- parse_
action - Static parsing function to build a LinkAction from YAML and settings context
Type Aliases§
- Fake
Link Action - A Fake create action that works on a fake test filesystem.
- Native
Link Action - A native create action that works on the real filesystem.