| 129 | if err != nil { |
| 130 | return err |
| 131 | } |
| 132 | |
| 133 | // Also load the base index if this is an overlay index. |
| 134 | var newBase *index.Index |
| 135 | var hidden map[string]bool |
| 136 | if _, err := os.Lstat(filepath.Join(indexDir, "base")); err == nil { |
| 137 | newBase, err = index.Open(filepath.Join(indexDir, "base")) |
| 138 | if err != nil { |
| 139 | newIndex.Close() |
nothing calls this directly
no outgoing calls
no test coverage detected