Skip to content
This repository was archived by the owner on Aug 22, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkging/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion pkging/mem/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down
2 changes: 1 addition & 1 deletion pkging/stdos/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down