for debugging
()
| 269 | |
| 270 | // for debugging |
| 271 | func (n *roFile) fullPath() string { |
| 272 | if n == nil { |
| 273 | return "" |
| 274 | } |
| 275 | return filepath.Join(n.parent.fullPath(), n.name) |
| 276 | } |
| 277 | |
| 278 | func (n *roFile) Attr(ctx context.Context, a *fuse.Attr) error { |
| 279 | // TODO: don't grab n.mu three+ times in here. |