~rbn/neinp

neinp/qid/fileinfo_nostat.go -rw-r--r-- 249 bytes
57a398f8 — Sören Tempel Allow multiple outstanding responses 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
//+build darwin plan9

package qid // import "go.rbn.im/neinp/qid"

import (
	"os"
)

// fileInfo creates a neinp.Qid from os.FileInfo on systems where syscall.Stat
// is missing or limited.
func fileInfo(fi os.FileInfo) Qid {
	return Generic(fi)
}