mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
20 lines
288 B
Go
20 lines
288 B
Go
package interfaces
|
|
|
|
import (
|
|
"os"
|
|
"time"
|
|
)
|
|
|
|
type FsFileInfo interface {
|
|
GetName() string
|
|
GetPath() string
|
|
GetFullPath() string
|
|
GetExtension() string
|
|
GetIsDir() bool
|
|
GetFileSize() int64
|
|
GetModTime() time.Time
|
|
GetMode() os.FileMode
|
|
GetHash() string
|
|
GetChildren() []FsFileInfo
|
|
}
|