Skip to content

Commit c0d788c

Browse files
authored
artifactory: add st_size to ArtifactoryFileStat (#453) (#454)
1 parent b116902 commit c0d788c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: artifactory.py

+2
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,7 @@ def _get_base_url(self, url):
610610
"modified_by",
611611
"mime_type",
612612
"size",
613+
"st_size",
613614
"sha1",
614615
"sha256",
615616
"md5",
@@ -909,6 +910,7 @@ def stat(self, pathobj):
909910
modified_by=jsn.get("modifiedBy"),
910911
mime_type=jsn.get("mimeType"),
911912
size=int(jsn.get("size", "0")),
913+
st_size=int(jsn.get("size", "0")),
912914
sha1=checksums.get("sha1", None),
913915
sha256=checksums.get("sha256", None),
914916
md5=checksums.get("md5", None),

0 commit comments

Comments
 (0)