Browse Source

Added DepotFile missing properties

pull/414/head
alec-hs 2 years ago
parent
commit
e90337af6a
No known key found for this signature in database GPG Key ID: 2C0E4987ACBC559
  1. 16
      steam/core/manifest.py

16
steam/core/manifest.py

@ -73,6 +73,22 @@ class DepotFile(object):
"""
return os.path.join(*self.linktarget_raw.split('\\'))
@property
def sha_content(self):
"""File SHA1
:type: bytes
"""
return self.file_mapping.sha_content
@property
def sha_filename(self):
"""File SHA1
:type: bytes
"""
return self.file_mapping.sha_content
@property
def size(self):
"""File size in bytes

Loading…
Cancel
Save