From c43001674441e68dd376cf003e17167360ab670e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kat=20March=C3=A1n?= Date: Thu, 17 Oct 2019 23:15:58 -0400 Subject: [PATCH] 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(). --- src/ls.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ls.rs b/src/ls.rs index dbef1c6..2c22a57 100644 --- a/src/ls.rs +++ b/src/ls.rs @@ -3,7 +3,7 @@ use std::path::Path; use crate::index; -/// Returns an iterator that lists all cache index entries. -pub fn all>(cache: P) -> impl Iterator { +/// Returns a synchronous iterator that lists all cache index entries. +pub fn all_sync>(cache: P) -> impl Iterator { index::ls(cache.as_ref()) }