mirror of
https://github.com/fiatjaf/nak.git
synced 2025-12-09 00:58:50 +00:00
fs: deterministic inode numbers.
This commit is contained in:
@@ -3,6 +3,6 @@ package nostrfs
|
||||
import "strconv"
|
||||
|
||||
func hexToUint64(hexStr string) uint64 {
|
||||
v, _ := strconv.ParseUint(hexStr[0:16], 16, 64)
|
||||
v, _ := strconv.ParseUint(hexStr[16:32], 16, 64)
|
||||
return v
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user