ref TODOs
This commit is contained in:
parent
0e13808b71
commit
3e22786a18
@ -69,6 +69,7 @@ func getProps(r *response, status string) *props {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c *Client) ReadDir(path string) ([]os.FileInfo, error) {
|
func (c *Client) ReadDir(path string) ([]os.FileInfo, error) {
|
||||||
|
// TODO return newPathError
|
||||||
path = FixSlashes(path)
|
path = FixSlashes(path)
|
||||||
files := make([]os.FileInfo, 0)
|
files := make([]os.FileInfo, 0)
|
||||||
skipSelf := true
|
skipSelf := true
|
||||||
@ -118,6 +119,7 @@ func (c *Client) ReadDir(path string) ([]os.FileInfo, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c *Client) Remove(path string) error {
|
func (c *Client) Remove(path string) error {
|
||||||
|
// TODO return newPathError
|
||||||
rs, err := c.reqDo("DELETE", path, nil)
|
rs, err := c.reqDo("DELETE", path, nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user