file.file.sha1
Declaration
lua
file.sha1(path)
Description
Calculate SHA-1 hash of file.
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
path | string | Required | — |
Return Values
| Type | Description |
|---|---|
| string | 40-char hex SHA-1 |
| nil |