diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-04-25 16:30:49 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-04-25 16:31:09 -0700 |
| commit | 5d59d510cd6fdc8553250e5ec10f19a285e8878c (patch) | |
| tree | 69d9a2646ed59746500fc9c62a04294a1019d381 /lib/file_hash.nom | |
| parent | 50a092e4b5cb82131c0c8f6f46c7d21a42198858 (diff) | |
Removing end-of-line ":" and "(..)" for blocks (they just use
indentation now).
Diffstat (limited to 'lib/file_hash.nom')
| -rw-r--r-- | lib/file_hash.nom | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/file_hash.nom b/lib/file_hash.nom index 4d99e39..0d7e523 100644 --- a/lib/file_hash.nom +++ b/lib/file_hash.nom @@ -28,15 +28,15 @@ lua> ".." end attrdir("."); -action [sha1 %]: +action [sha1 %] lua> "return sha1(\%);" -action [file with hash %hash]: +action [file with hash %hash] %file <- (%hash in %hash_to_filename) assume %file or barf "File with SHA1 hash \%hash not found!" return %file -action [hash of file %filename]: +action [hash of file %filename] lua> ".." local f = io.open(\%filename); local hash = sha1(f:read("*a")); |
