Lines Matching refs:link
270 link, isLink := parentNode.symlinks[leaf]
281 if link.readErr != nil {
285 Err: link.readErr,
289 target := m.followLink(link, parentPath)
295 func (m *MockFs) followLink(link *mockLink, parentPath string) (result string) {
296 return filepath.Clean(filepath.Join(parentPath, link.target))
333 link, isLink := parentDir.symlinks[name]
335 return &link.mockInode, nil
481 link, linkExists := dir.symlinks[baseName]
483 return m.linkToFileInfo(link, path), nil
558 for name, link := range dir.symlinks {
559 info := m.linkToFileInfo(link, name)
618 link, sourceIsLink := sourceParentDir.symlinks[sourceBase]
670 destParentDir.symlinks[destBase] = link