YTSFlix_Go/vendor/github.com/gobuffalo/packr/physical_file.go

14 lines
181 B
Go
Raw Normal View History

2018-11-04 14:58:15 +00:00
package packr
import "os"
var _ File = physicalFile{}
type physicalFile struct {
*os.File
}
func (p physicalFile) FileInfo() (os.FileInfo, error) {
return os.Stat(p.Name())
}