Documentation ¶
Index ¶
- func FileNotExists(path string) bool
- func GetDirFromFilePath(path string) string
- func IsPathSafe(path string) bool
- func MakeServerSidePath(path, username string) (prefix string)
- type Fs3RequestProcessor
- func (handler *Fs3RequestProcessor) Copy(req *fs3.CopyRequest) (reply *fs3.CopyReply, err error)
- func (handler *Fs3RequestProcessor) Describe(req *fs3.DescribeRequest) (reply *fs3.DescribeReply, err error)
- func (handler *Fs3RequestProcessor) Get(req *fs3.GetRequest) (reply *fs3.GetReply, err error)
- func (handler *Fs3RequestProcessor) Remove(req *fs3.RemoveRequest) (reply *fs3.RemoveReply, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileNotExists ¶
func GetDirFromFilePath ¶
func IsPathSafe ¶
func MakeServerSidePath ¶
Types ¶
type Fs3RequestProcessor ¶
func NewFs3RequestProcessor ¶
func NewFs3RequestProcessor(logger *log.Logger) *Fs3RequestProcessor
func (*Fs3RequestProcessor) Copy ¶
func (handler *Fs3RequestProcessor) Copy(req *fs3.CopyRequest) (reply *fs3.CopyReply, err error)
func (*Fs3RequestProcessor) Describe ¶
func (handler *Fs3RequestProcessor) Describe( req *fs3.DescribeRequest, ) (reply *fs3.DescribeReply, err error)
func (*Fs3RequestProcessor) Get ¶
func (handler *Fs3RequestProcessor) Get(req *fs3.GetRequest) (reply *fs3.GetReply, err error)
func (*Fs3RequestProcessor) Remove ¶
func (handler *Fs3RequestProcessor) Remove( req *fs3.RemoveRequest, ) (reply *fs3.RemoveReply, err error)
Click to show internal directories.
Click to hide internal directories.