Lines Matching refs:path
8 def GetRecursiveDiskUsage(path):9 """Returns the disk usage in bytes of |path|. Similar to `du -sb |path|`."""10 running_size = os.path.getsize(path)11 if os.path.isdir(path):12 for root, dirs, files in os.walk(path):13 running_size += sum([os.path.getsize(os.path.join(root, f))