MCPcopy Index your code
hub / github.com/jetify-com/devbox / URLWithCaching

Method URLWithCaching

internal/shellgen/flake_input.go:29–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27}
28
29func (f *flakeInput) URLWithCaching() string {
30 if !f.Ref.IsNixpkgs() {
31 return nix.FixInstallableArg(f.Ref.String())
32 }
33 return getNixpkgsInfo(f.Ref.Rev).URL
34}
35
36func (f *flakeInput) PkgImportName() string {
37 return f.Name + "-pkgs"

Callers

nothing calls this directly

Calls 4

FixInstallableArgFunction · 0.92
getNixpkgsInfoFunction · 0.85
IsNixpkgsMethod · 0.80
StringMethod · 0.45

Tested by

no test coverage detected