Initial commit
Proof-of-concept implementation. Bugs will occur.
This commit is contained in:
7
internal/domains/filesystem/inode.go
Normal file
7
internal/domains/filesystem/inode.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package filesystem
|
||||
|
||||
import "sync/atomic"
|
||||
|
||||
func (f *FS) nextInode() uint64 {
|
||||
return atomic.AddUint64(&f.inodeCounter, 1)
|
||||
}
|
||||
Reference in New Issue
Block a user