This commit is contained in:
Liang Ding 2015-12-28 16:00:17 +08:00
parent 638dd3e67c
commit 2e03c1449c
1 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,8 @@ var File = myfile{}
func (*myfile) GetFileSize(path string) int64 {
fi, err := os.Stat(path)
if nil != err {
fileLogger.Error(err)
return -1
}