Skip to content

Commit

Permalink
refactor(core): use list_with in Operator::list (#3305)
Browse files Browse the repository at this point in the history
  • Loading branch information
G-XD authored Oct 16, 2023
1 parent 5d0850b commit ad020fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/types/operator/operator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,7 @@ impl Operator {
/// # }
/// ```
pub async fn list(&self, path: &str) -> Result<Vec<Entry>> {
self.lister_with(path).await?.try_collect().await
self.list_with(path).await
}

/// List entries within a given directory with options.
Expand Down

0 comments on commit ad020fd

Please sign in to comment.