mirror of
https://github.com/DarrylNixon/melamine.git
synced 2024-04-22 06:27:20 -07:00
Traverse ShredDir contents, not ShredDir
This commit is contained in:
parent
a4f9b485fd
commit
587905ed9a
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ async def get_all_hardlinks(paths: Set[Path]) -> None:
|
|||
logger.info(f"Found hardlink: {link}")
|
||||
logger.info(f"Found {hardlink_count} hardlinks for {path.absolute_path}")
|
||||
if isinstance(path, ShredDir):
|
||||
await get_all_hardlinks(path)
|
||||
await get_all_hardlinks(path.contents)
|
||||
return paths
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue