#find #name

app rdetect

Traverse up directories to find files/folders by name

3 releases

0.1.2 Nov 12, 2018
0.1.1 Nov 12, 2018
0.1.0 Nov 12, 2018
Download history 58/week @ 2018-11-16 20/week @ 2018-11-23 18/week @ 2018-11-30 23/week @ 2018-12-07

6 downloads per month

MIT license

4KB
67 lines

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 /

Dependencies

~796KB
~12K SLoC