Skip to content

Commit

Permalink
Added DepotFile missing properties (ValvePython#414)
Browse files Browse the repository at this point in the history
* Added DepotFile missing properties
  • Loading branch information
alec-hs authored Dec 10, 2022
1 parent dd147db commit 74e4292
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions steam/core/manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,22 @@ def linktarget(self):
"""
return os.path.join(*self.linktarget_raw.split('\\'))

@property
def sha_content(self):
"""File content SHA1
:type: bytes
"""
return self.file_mapping.sha_content

@property
def sha_filename(self):
"""Filename SHA1
:type: bytes
"""
return self.file_mapping.sha_filename

@property
def size(self):
"""File size in bytes
Expand Down

0 comments on commit 74e4292

Please sign in to comment.