MCPcopy Create free account
hub / github.com/aboutcode-org/scancode-toolkit / get_file_size

Function get_file_size

src/commoncode/hash.py:213–214  ·  view source on GitHub ↗
(location)

Source from the content-addressed store, hash-verified

211
212
213def get_file_size(location):
214 return os.path.getsize(location)
215
216
217def checksum(location, name, base64=False):

Callers 2

checksumFunction · 0.85
multi_checksumsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected