ref TODOs

This commit is contained in:
Christoph Polcin 2014-10-24 11:26:21 +02:00
parent 0e13808b71
commit 3e22786a18

View File

@ -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