diff options
Diffstat (limited to 'back/cmd/authfs/qid.go')
| -rw-r--r-- | back/cmd/authfs/qid.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/back/cmd/authfs/qid.go b/back/cmd/authfs/qid.go new file mode 100644 index 0000000..7c23240 --- /dev/null +++ b/back/cmd/authfs/qid.go @@ -0,0 +1,16 @@ +package main + +const ( + _ uint64 = iota + rootQidPath + usersQidPath + sessionsQidPath +) + +var nextQidPath uint64 = 99 + +func NextQidPath() uint64 { + p := nextQidPath + nextQidPath++ + return p +} |