diff options
| author | ruki <[email protected]> | 2024-10-11 00:51:16 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-10-11 00:51:16 +0800 |
| commit | 09ee92711986cb729d89c23c1802156bd335a602 (patch) | |
| tree | af92c74314e9d978c20303067225055cdcec40f2 /xmake/core/base/hash.lua | |
| parent | 687beddbf316b1565a55b68934c3681320a1d51f (diff) | |
improve hash module
Diffstat (limited to 'xmake/core/base/hash.lua')
| -rw-r--r-- | xmake/core/base/hash.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/core/base/hash.lua b/xmake/core/base/hash.lua index 74bbfd4cd..d5fa685b5 100644 --- a/xmake/core/base/hash.lua +++ b/xmake/core/base/hash.lua @@ -96,5 +96,10 @@ function hash.xxhash128(file_or_data) return hashstr, errors end +-- make uuid +function hash.uuid(str) + return hash.uuid4(str) +end + -- return module: hash return hash |
