diff options
Diffstat (limited to 'tpl/os/os.go')
-rw-r--r-- | tpl/os/os.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tpl/os/os.go b/tpl/os/os.go index 04f151ec9..aca80ae9d 100644 --- a/tpl/os/os.go +++ b/tpl/os/os.go @@ -131,8 +131,8 @@ func (ns *Namespace) FileExists(i interface{}) (bool, error) { return status, nil } -// FileStat Stat returns the os.FileInfo structure describing file. -func (ns *Namespace) FileStat(i interface{}) (_os.FileInfo, error) { +// Stat returns the os.FileInfo structure describing file. +func (ns *Namespace) Stat(i interface{}) (_os.FileInfo, error) { path, err := cast.ToStringE(i) if err != nil { return nil, err |