diff --git a/client.go b/client.go index 4434ac8..ec6cf93 100644 --- a/client.go +++ b/client.go @@ -69,6 +69,7 @@ func getProps(r *response, status string) *props { } func (c *Client) ReadDir(path string) ([]os.FileInfo, error) { + // TODO return newPathError path = FixSlashes(path) files := make([]os.FileInfo, 0) skipSelf := true @@ -118,6 +119,7 @@ func (c *Client) ReadDir(path string) ([]os.FileInfo, error) { } func (c *Client) Remove(path string) error { + // TODO return newPathError rs, err := c.reqDo("DELETE", path, nil) if err != nil { return err