Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyPathMappings ¶
func ApplyPathMappings(path string, mappings []models.PathMapping) string
ApplyPathMappings applies configured path mappings to convert remote paths to local paths.
Mappings are matched longest-prefix-first to handle overlapping prefixes correctly. Prefix matching requires a path separator boundary (/ or \) to avoid false matches like "/data" matching "/data-backup".
func BuildArguments ¶
BuildArguments substitutes variables in the args template with torrent data. Returns arguments as an array suitable for exec.Command (no manual quoting needed).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.