teemtee / fmf

Flexible Metadata Format
GNU General Public License v2.0
22 stars 28 forks source link

Implement the 'fmf clean' command #114

Closed lukaszachy closed 3 years ago

lukaszachy commented 3 years ago

Solves #77

In the end I went with simple gc command to delete whole cache dir. However API allows to set custom expiration time.

lukaszachy commented 3 years ago

Renamed command to 'clean' and all methods it uses are part of their own PR #118 so it is easier for review / changes.

lgtm-com[bot] commented 3 years ago

This pull request introduces 1 alert when merging 285a0b71fd61772db9434ad866df8601eeec9f27 into 957abdfdc6b53fa63bfdb41ab963c5e836530793 - view on LGTM.com

new alerts:

lukaszachy commented 3 years ago

Found issue in api-cache branch (base of this PR) so rebasing.