Add @pipeable.ctrlc_return1.
This commit is contained in:
parent
7ec0377bf1
commit
19ce94729c
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ def hash_file(file):
|
||||||
hasher.update(chunk)
|
hasher.update(chunk)
|
||||||
return hasher.hexdigest()
|
return hasher.hexdigest()
|
||||||
|
|
||||||
|
@pipeable.ctrlc_return1
|
||||||
def hash_hardlink_argparse(args):
|
def hash_hardlink_argparse(args):
|
||||||
paths = [pathclass.Path(p) for p in pipeable.input_many(args.paths, strip=True, skip_blank=True)]
|
paths = [pathclass.Path(p) for p in pipeable.input_many(args.paths, strip=True, skip_blank=True)]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue