mirror of
https://github.com/fiatjaf/nak.git
synced 2025-12-09 09:08:50 +00:00
fs: deterministic inode numbers.
This commit is contained in:
@@ -23,7 +23,7 @@ func CreateNpubDir(ctx context.Context, sys *sdk.System, parent fs.InodeEmbedder
|
||||
return parent.EmbeddedInode().NewPersistentInode(
|
||||
ctx,
|
||||
npubdir,
|
||||
fs.StableAttr{Mode: syscall.S_IFDIR},
|
||||
fs.StableAttr{Mode: syscall.S_IFDIR, Ino: hexToUint64(pointer.PublicKey)},
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user