Function freqfs::load [−][src]
pub async fn load<FE: FileLoad + Send + Sync + 'static>(
root: PathBuf,
cache_size: usize,
cleanup_interval: Duration
) -> Result<DirLock<FE>, Error>
Expand description
Load the filesystem cache from the given root
directory.
duration
specified how frequently the background cleanup thread should check if the
cache is full.