rdetect

Crates.iordetect
lib.rsrdetect
version0.2.1
sourcesrc
created_at2018-11-12 21:12:34.531956
updated_at2018-11-16 18:28:57.497404
descriptionTraverse up directories to find files/folders by name
homepage
repositoryhttps://github.com/ikornaselur/detect
max_upload_size
id96336
size4,725
Axel Örn Sigurðsson (ikornaselur)

documentation

README

Detect

Traverse up diretories to look for files/folders by name.

An example, with the folder structure

./
├── bar/
├── baz/
├── file
└── foo/
   ├── norf/
   └── qux/
      └── file

running detect file from ./foo/qux would return ./foo/qux/file while running it in ./foo/norf would return ./file.

detect will try to traverse all the way up to /

Commit count: 15

cargo fmt