GenerateInode returns a new inode ID.
(parentInode uint64, name string)
| 271 | |
| 272 | // GenerateInode returns a new inode ID. |
| 273 | func (cfs CFS) GenerateInode(parentInode uint64, name string) uint64 { |
| 274 | return cfs.newUniqueID() |
| 275 | } |
| 276 | |
| 277 | func (cfs CFS) newUniqueID() (id uint64) { |
| 278 | // cockroach's unique_rowid() Contains time and space (node ID) components |
nothing calls this directly
no test coverage detected