server/file_info.go
Lunny Xiao 4f29dad5d4
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is failing
Branch v2
2020-12-01 20:39:33 +08:00

28 lines
446 B
Go

// Copyright 2018 The goftp Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package server
import "os"
type fileInfo struct {
os.FileInfo
mode os.FileMode
owner string
group string
}
func (f *fileInfo) Mode() os.FileMode {
return f.mode
}
func (f *fileInfo) Owner() string {
return f.owner
}
func (f *fileInfo) Group() string {
return f.group
}