MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / _report_store_attachment

Function _report_store_attachment

Scripts/ButSystem.py:17448–17473  ·  view source on GitHub ↗
(rid: int, file_storage)

Source from the content-addressed store, hash-verified

17446 e: Parameter.
17447
17448Returns:
17449 Varies.
17450"""
17451 return (0 if e["is_dir"] else 1, e["mtime"])
17452 def k_size(e):
17453 """k_size.
17454
17455Internal helper function.
17456
17457This docstring was added automatically to improve maintainability.
17458
17459Args:
17460 e: Parameter.
17461
17462Returns:
17463 Varies.
17464"""
17465 return (0 if e["is_dir"] else 1, e["size"])
17466 def k_type(e):
17467 """k_type.
17468
17469Internal helper function.
17470
17471This docstring was added automatically to improve maintainability.
17472
17473Args:
17474 e: Parameter.
17475
17476Returns:

Callers 2

report_createFunction · 0.70
report_editFunction · 0.70

Calls 5

_validate_report_uploadFunction · 0.70
db_connectFunction · 0.70
aesgcm_encrypt_textFunction · 0.70
now_zFunction · 0.70
_save_plain_uploadFunction · 0.70

Tested by

no test coverage detected