steamtools/depotcache.py at master · …
https://github.com/Grumbel/steamtools/blob/master/depotcache.py
parser. add_argument ('FILE', action = 'store', type = str, nargs = '+', help = 'files to process') parser. add_argument ('--sha1sum', action = 'store_true', default = False, help = 'print depotcache in sha1sum format') args = parser. parse_args if args. sha1sum: for filename in args. FILE: for name, entry in decode_depotcache (filename, True): if entry. filetype!= "directory":
DA: 75 PA: 64 MOZ Rank: 65