feat(ls): cacache::ls::all -> ls::all_sync

BREAKING CHANGE: In order to match up with the other APIs, the ls::all() has been renamed to ls::all_sync().
This commit is contained in:
Kat Marchán 2019-10-17 23:15:58 -04:00
parent a040a743a8
commit c430016744
No known key found for this signature in database
GPG Key ID: AEB529C08A3C7E9E
1 changed files with 2 additions and 2 deletions

View File

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