fs: something that makes more sense.

This commit is contained in:
fiatjaf
2025-03-08 12:52:05 -03:00
parent d6a23bd00c
commit 3d961d4bec
8 changed files with 208 additions and 151 deletions

8
nostrfs/helpers.go Normal file
View File

@@ -0,0 +1,8 @@
package nostrfs
import "strconv"
func hexToUint64(hexStr string) uint64 {
v, _ := strconv.ParseUint(hexStr[0:16], 16, 64)
return v
}