(itemPath string)
| 209 | } |
| 210 | |
| 211 | func (c *Client) createParentCollection(itemPath string) (err error) { |
| 212 | parentPath := path.Dir(itemPath) |
| 213 | if parentPath == "." || parentPath == "/" { |
| 214 | return nil |
| 215 | } |
| 216 | |
| 217 | return c.MkdirAll(parentPath, 0755) |
| 218 | } |
no test coverage detected