diff options
| -rw-r--r-- | xmake/core/base/hash.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/core/base/hash.lua b/xmake/core/base/hash.lua index 44502ad19..f6bd27033 100644 --- a/xmake/core/base/hash.lua +++ b/xmake/core/base/hash.lua @@ -101,6 +101,7 @@ function hash.uuid(str) return hash.uuid4(str) end +-- TODO, we should optimize it -- generate hash32 from string, e.g. "91e8ecf1" function hash.strhash32(str) return hash.uuid4(str):split("-", {plain = true})[1]:lower() |
