MCPcopy Index your code
hub / github.com/saltstack/salt / _check_pkg_build_files_exist

Function _check_pkg_build_files_exist

tools/pkg/build.py:1235–1239  ·  view source on GitHub ↗
(ctx: Context, **kwargs)

Source from the content-addressed store, hash-verified

1233
1234
1235def _check_pkg_build_files_exist(ctx: Context, **kwargs):
1236 for name, path in kwargs.items():
1237 if not path.exists():
1238 ctx.error(f"The path {path} does not exist, {name} is not valid... exiting")
1239 ctx.exit(1)

Callers 6

debianFunction · 0.85
rpmFunction · 0.85
macosFunction · 0.85
windowsFunction · 0.85
onedir_dependenciesFunction · 0.85
salt_onedirFunction · 0.85

Calls 4

exitMethod · 0.80
itemsMethod · 0.45
existsMethod · 0.45
errorMethod · 0.45

Tested by

no test coverage detected