Skip to content
This repository has been archived by the owner on Mar 23, 2019. It is now read-only.

izderadicka/cachedirtree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cachedirtree

moved to audioserve repo

A library to cache directory structure into memory (arena based tree structure) to enable fast searches over directory structure.

Search for "word1 word2 word3" will find pathes that have all these words somewhere along the path. Also can monitor directory and updated cache after something changes in directory structure.

Work in progress - use at your own risk - no documentation yet.

See examples/watch_dir for sample usage:

cargo run --release --example watch_dir -- test_data &
echo doyle modry | nc localhost 54321
mkdir -p test_data/my/fresh/new
# wait a while
echo my fresh | nc localhost 54321
echo my new | nc localhost 54321
rm -r test_data/my
# wait a while
echo my new | nc localhost 54321
kill %1

About

Library to cache directory tree into memory for fast searches (Rust)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages