Expand description
This module defines LinkDirective.
Structs§
- Link
Directive - A directive that can build LinkActions to create directories in the filesystem.
Constants§
- CREATE_
PARENT_ DIRS_ SETTING - Create parent dirs if they don’t exist
- DIRECTIVE_
NAME - Name of the link directive
- 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§
- init_
directive_ data - Initialize the defaults for the LinkDirective.
Type Aliases§
- Fake
Link Directive - LinkDirective that uses the native [FakeFileSystem] for testing.
- Native
Link Directive - LinkDirective that uses the native [OsFileSystem].