working commit
This commit is contained in:
@@ -3,7 +3,7 @@ package operator
|
||||
import (
|
||||
"io"
|
||||
"net/http"
|
||||
"path"
|
||||
//"path"
|
||||
)
|
||||
|
||||
// File exists
|
||||
@@ -17,8 +17,8 @@ type FileExistsResult struct{}
|
||||
func (oper *Operator) FileExists(param *FileExistsParams) (int, *FileExistsResult, error) {
|
||||
var err error
|
||||
|
||||
filename := path.Base(param.Filepath)
|
||||
dirname := path.Dir(filepath)
|
||||
//filename := path.Base(param.Filepath)
|
||||
//dirname := path.Dir(filepath)
|
||||
|
||||
res := &FileExistsResult{}
|
||||
code := http.StatusOK
|
||||
|
||||
Reference in New Issue
Block a user