Files
Vladimir Hodakov 13ac06c14b Initial commit
Proof-of-concept implementation. Bugs will occur.
2026-02-12 01:18:46 +03:00

8 lines
123 B
Go

package filesystem
import "sync/atomic"
func (f *FS) nextInode() uint64 {
return atomic.AddUint64(&f.inodeCounter, 1)
}