doc(ls): document ls::all()

This commit is contained in:
Kat Marchán 2019-06-30 20:20:49 -07:00
parent fa8759b92c
commit 1133de04d2
No known key found for this signature in database
GPG Key ID: AEB529C08A3C7E9E
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@ use std::path::Path;
use crate::index;
/// Returns an iterator that lists all cache index entries.
pub fn all<P: AsRef<Path>>(cache: P) -> impl Iterator {
index::ls(cache.as_ref())
}