Skip to content

Commit

Permalink
Merge branch 'develop' into test
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeyco committed Aug 7, 2018
2 parents 01393f2 + 570b6eb commit 7073395
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions file.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ func (f *File) Name() string {
return f.name
}

// Ext returns file extension
func (f *File) Ext() string {
return filepath.Ext(f.Name())
}

// Stat returns file info
func (f *File) Stat() os.FileInfo {
return f.info
Expand Down

0 comments on commit 7073395

Please sign in to comment.