(i flake.Installable, projectDir string)
| 182 | } |
| 183 | |
| 184 | func (p *Package) setInstallable(i flake.Installable, projectDir string) { |
| 185 | if i.Ref.Type == flake.TypePath && !filepath.IsAbs(i.Ref.Path) { |
| 186 | i.Ref.Path = filepath.Join(projectDir, i.Ref.Path) |
| 187 | } |
| 188 | p.installable = i |
| 189 | } |
| 190 | |
| 191 | func pkgNeedsPatch(canonicalName string, mode configfile.PatchMode) (patch bool) { |
| 192 | mode = cmp.Or(mode, configfile.PatchAuto) |
no outgoing calls
no test coverage detected