(subpath string)
| 539 | } |
| 540 | |
| 541 | func (h *shellCallHandler) Directory(subpath string) (*dagger.Directory, error) { |
| 542 | apath, err := h.contextAbsPath(subpath) |
| 543 | if err != nil { |
| 544 | return nil, err |
| 545 | } |
| 546 | h.mu.RLock() |
| 547 | defer h.mu.RUnlock() |
| 548 | return h.wd.Context.Directory(h.dag, apath), nil |
| 549 | } |
| 550 | |
| 551 | func (h *shellCallHandler) File(subpath string) (*dagger.File, error) { |
| 552 | apath, err := h.contextAbsPath(subpath) |
no test coverage detected