Fix clean-s3-cache code to use os.listdir
This commit is contained in:
parent
c846546663
commit
12567f20f6
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ def delete_object(key: str) -> None:
|
|||
|
||||
def get_store_hashes() -> set[str]:
|
||||
hashes = set()
|
||||
for obj in obj.listdir("/nix/store"):
|
||||
for obj in os.listdir("/nix/store"):
|
||||
hashes.add(obj.split("-")[0])
|
||||
|
||||
async def main() -> None:
|
||||
|
|
Loading…
Reference in a new issue