Skip to main content

Module marker

Module marker 

Source
Expand description

.yuilink marker file detection + parsing.

Two forms are accepted:

  • empty file → “junction this dir at the parent mount’s dst” (the original presence-only marker semantics)
  • TOML with [[link]] entries → “junction this dir at each entry’s dst, when filtered” — overrides the parent mount’s dst.
# $DOTFILES/home/.config/nvim/.yuilink
[[link]]
dst = "{{ env(name='HOME') }}/.config/nvim"

[[link]]
dst = "{{ env(name='LOCALAPPDATA') }}/nvim"
when = "{{ yui.os == 'windows' }}"

Structs§

MarkerLink

Enums§

MarkerSpec

Functions§

is_marker_dir
Presence-only check: any .yuilink file (empty or with content) counts. Kept for callers that don’t need the spec contents.
read_spec
Read and parse a .yuilink from dir.