Skip to main content

find_flodl_src

Function find_flodl_src 

Source
pub fn find_flodl_src(explicit: Option<&str>) -> Option<PathBuf>
Expand description

Find the flodl source directory. Checks (in order):

  1. Explicit path from –path flag
  2. ./flodl/src/ (dev checkout, walk up to 5 levels)
  3. Cargo registry (~/.cargo/registry/src//flodl-/src/)
  4. Cached download (~/.flodl/api-ref-cache/<tag>/)
  5. Download from latest GitHub release (cached for next time)