Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
213
def
get_file_size(location):
214
return
os.path.getsize(location)
215
216
217
def
checksum(location, name, base64=False):
Callers
2
checksum
Function · 0.85
multi_checksums
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected