nu: Add shadir helper
This commit is contained in:
2 files changed
+6
No files matched your search
@@ -0,0 +1,5 @@
|
||||
def shadir [
|
||||
p: path, # Path to the directory to be sha256summed
|
||||
]: nothing -> string {
|
||||
(^find $p -type f -print0 | xargs -0 sha256sum | ^sort | sha256sum)
|
||||
}
|
||||
Reference in new issue
Block a user