fs: deterministic inode numbers.

This commit is contained in:
fiatjaf
2025-03-09 00:17:56 -03:00
parent 5fe354f642
commit 186948db9a
3 changed files with 3 additions and 3 deletions

View File

@@ -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
}