package main const rootQid = p9p.Qid{ Type: QTDIR, Version: 0x0, Path: 0x1, } // Root is the root Dir which contains /users and /sessions. type Root struct { path string } func (r Root) Qid() p9p.Qid { return rootQid } func (r Root) Stat() (p9p.Dir, error) { return p9p.Dir{ Qid: rootQid, Mode: DMDIR | DMREAD, }