Byron/trash-rs

Use references in `restore_all` and `purge_all`

オープン

#54 opened on 2022/07/17

 (12 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (40 件のフォーク)auto 404
enhancementgood first issuehelp wanted

Repository metrics

Stars
 (247 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

restore_all and purge_all should take references because they don't need the ownership of TrashItems. This could reduce cloning when calling the functions. restore_all might need an additional clone on a RestoreCollision error because there is remaining_items. My use case is specified in #53 .

コントリビューターガイド