~rbn/neinp

ref: 314a874f1439902314753295580dc8ef3083fde8 neinp/qid/fileinfo_nostat.go -rw-r--r-- 249 bytes
314a874fAaron Bieber Split FileInfo into separate files that can be used per OS. 11 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)
}