MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Samples / get_ext

Function get_ext

scripts/copyright.py:50–53  ·  view source on GitHub ↗
(file_path)

Source from the content-addressed store, hash-verified

48
49# Get the file extension
50def get_ext(file_path):
51 file_name = os.path.basename(file_path)
52 file_name, file_ext = os.path.splitext(file_name)
53 return file_ext
54
55# Query files for the presence of a valid year in the header
56def query_files(files):

Callers 1

copyright.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected