MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Tools / RepoRelative

Function RepoRelative

scripts/common_codegen.py:95–96  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

93
94# helper to define paths relative to the repo root
95def RepoRelative(path):
96 return os.path.abspath(os.path.join(os.path.dirname(__file__), '..', path))
97
98# Runs a command in a directory and returns its return code.
99# Directory is project root by default, or a relative path from project root

Callers 1

RunShellCmdFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected