Skip to content

Commit 74e4292

Browse files
authored
Added DepotFile missing properties (#414)
* Added DepotFile missing properties
1 parent dd147db commit 74e4292

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

steam/core/manifest.py

+16
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,22 @@ def linktarget(self):
7373
"""
7474
return os.path.join(*self.linktarget_raw.split('\\'))
7575

76+
@property
77+
def sha_content(self):
78+
"""File content SHA1
79+
80+
:type: bytes
81+
"""
82+
return self.file_mapping.sha_content
83+
84+
@property
85+
def sha_filename(self):
86+
"""Filename SHA1
87+
88+
:type: bytes
89+
"""
90+
return self.file_mapping.sha_filename
91+
7692
@property
7793
def size(self):
7894
"""File size in bytes

0 commit comments

Comments
 (0)