()
| 835 | } |
| 836 | |
| 837 | func (n *node) String() string { |
| 838 | if n == nil { |
| 839 | return "<nil *node>" |
| 840 | } |
| 841 | return fmt.Sprintf("[node %s, isDir=%v, nchild=%d]", n.fullPath, n.fi.IsDir(), len(n.children)) |
| 842 | } |
| 843 | |
| 844 | func (n *node) SetPutResult(res *client.PutResult, err error) { |
| 845 | n.mu.Lock() |
no test coverage detected