MCPcopy Index your code
hub / github.com/nodejs/node / print_size

Function print_size

tools/icu/shrink-icu-src.py:47–49  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

45 shutil.copyfileobj(inf, outf)
46
47def print_size(fn):
48 size = (os.stat(fn).st_size) / 1024000
49 print('%dM\t%s' % (size, fn))
50
51ignore_regex = re.compile(r'^.*\.(vcxproj|filters|nrm|icu|dat|xml|txt|ac|guess|m4|in|sub|py|mak)$')
52

Callers 1

shrink-icu-src.pyFile · 0.85

Calls 2

printFunction · 0.50
statMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…