mirror of
https://github.com/DarrylNixon/melamine.git
synced 2024-04-22 06:27:20 -07:00
get_hardlinks take Shred*, not AsyncPaths
This commit is contained in:
parent
efce306977
commit
0f6b8bd438
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ async def get_all_hardlinks(paths: Set[Union[ShredFile, ShredDir]]) -> None:
|
|||
logger.info(f"Getting hardlinks for {path.absolute_path}")
|
||||
hardlink_count = 0
|
||||
path.hardlinks = set()
|
||||
async for link in path.fs_handler.get_hardlinks(path.absolute_path):
|
||||
async for link in path.fs_handler.get_hardlinks(path):
|
||||
hardlink_count += 1
|
||||
path.hardlinks.add(link)
|
||||
logger.info(f"Found hardlink: {link}")
|
||||
|
|
Loading…
Reference in a new issue