Skip to content

Commit

Permalink
change File.String format
Browse files Browse the repository at this point in the history
  • Loading branch information
ungerik committed Apr 18, 2024
1 parent 4e9e0a7 commit a606985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion file.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (file File) RawURI() string {
// String returns information about the File and its FileSystem.
// String implements the fmt.Stringer interface.
func (file File) String() string {
return fmt.Sprintf("%s (FS: %s)", string(file), file.FileSystem().Name())
return fmt.Sprintf("%s (%s)", string(file), file.FileSystem().Name())
}

// URL of the file
Expand Down

0 comments on commit a606985

Please sign in to comment.