Skip to main content

referenced_paths

Function referenced_paths 

Source
pub fn referenced_paths(dir: &Path, text: &str) -> Vec<PathBuf>
Available on crate feature cli-dev only.
Expand description

Shallowly extract the paths a config references so we can watch them too: extends: targets (string or list) and !include <path> tags. Relative paths resolve against dir. Pure over (dir, text).