mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-11-24 18:44:55 +00:00
lua-doc: document fs.verify sig_check
This commit is contained in:
parent
d40f1dd022
commit
8180fe7c2a
@ -660,7 +660,7 @@ Calculate the hash for some data. Uses SHA-256 unless `sha1` is specified.
|
|||||||
|
|
||||||
#### fs.verify
|
#### fs.verify
|
||||||
|
|
||||||
* `bool fs.verify(string path)`
|
* `bool fs.verify(string path[, table opts {bool sig_check}])`
|
||||||
|
|
||||||
Verify the integrity of a file.
|
Verify the integrity of a file.
|
||||||
|
|
||||||
@ -669,6 +669,8 @@ Verify the integrity of a file.
|
|||||||
|
|
||||||
* **Arguments**
|
* **Arguments**
|
||||||
* `path` - File to verify
|
* `path` - File to verify
|
||||||
|
* `opts` (optional) - Option flags
|
||||||
|
* `sig_check` - Verify NCSD/NCCH signature
|
||||||
* **Returns:** `true` if successful, `false` if failed or not verifiable
|
* **Returns:** `true` if successful, `false` if failed or not verifiable
|
||||||
|
|
||||||
#### fs.verify_with_sha_file
|
#### fs.verify_with_sha_file
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user