From 8180fe7c2a5a16c73ba12aafc09189bb83055d25 Mon Sep 17 00:00:00 2001 From: ihaveahax Date: Mon, 20 Oct 2025 10:53:57 -0500 Subject: [PATCH] lua-doc: document fs.verify sig_check --- resources/lua-doc.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/lua-doc.md b/resources/lua-doc.md index 62eb91f..227059c 100644 --- a/resources/lua-doc.md +++ b/resources/lua-doc.md @@ -660,7 +660,7 @@ Calculate the hash for some data. Uses SHA-256 unless `sha1` is specified. #### fs.verify -* `bool fs.verify(string path)` +* `bool fs.verify(string path[, table opts {bool sig_check}])` Verify the integrity of a file. @@ -669,6 +669,8 @@ Verify the integrity of a file. * **Arguments** * `path` - File to verify + * `opts` (optional) - Option flags + * `sig_check` - Verify NCSD/NCCH signature * **Returns:** `true` if successful, `false` if failed or not verifiable #### fs.verify_with_sha_file