mirror of https://github.com/markbates/pkger.git
parent
0273362499
commit
c7a9850084
|
@ -14,7 +14,7 @@ type File interface {
|
|||
// Info returns the here.Info of the file
|
||||
Info() here.Info
|
||||
|
||||
// Name retuns the name of the file
|
||||
// Name returns the name of the file
|
||||
Name() string
|
||||
|
||||
// Open implements the http.FileSystem interface. A FileSystem implements access to a collection of named files. The elements in a file path are separated by slash ('/', U+002F) characters, regardless of host operating system convention.
|
||||
|
|
|
@ -103,7 +103,7 @@ func (f File) Stat() (os.FileInfo, error) {
|
|||
return f.info, nil
|
||||
}
|
||||
|
||||
// Name retuns the name of the file in pkger format
|
||||
// Name returns the name of the file in pkger format
|
||||
func (f File) Name() string {
|
||||
return f.path.String()
|
||||
}
|
||||
|
|
|
@ -29,7 +29,7 @@ func (f *File) Info() here.Info {
|
|||
return f.her
|
||||
}
|
||||
|
||||
// Name retuns the name of the file in pkger format
|
||||
// Name returns the name of the file in pkger format
|
||||
func (f File) Name() string {
|
||||
return f.path.String()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue