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

Function human_size

Scripts/ButSystem.py:3536–3555  ·  view source on GitHub ↗

human_size. Internal helper function. This docstring was added automatically to improve maintainability. Args: n: Parameter. Returns: Varies.

(n: int)

Source from the content-addressed store, hash-verified

3534 pass
3535 raise
3536
3537 conn = db_connect()
3538 conn.execute(
3539 "UPDATE profiles SET pic_path=?, pic_mime=?, updated_at=? WHERE username=?",
3540 (dst, mime, now_z(), username),
3541 )
3542 conn.commit()
3543 conn.close()
3544
3545
3546def remove_profile_pic(username: str):
3547 """remove_profile_pic.
3548
3549Route handler or application helper.
3550
3551This docstring was expanded to make future maintenance easier.
3552
3553Args:
3554 username: Parameter.
3555
3556Returns:
3557 Varies.
3558"""

Callers 7

list_dir_entriesFunction · 0.70
chat_withFunction · 0.70
_dm_build_message_dictFunction · 0.70
api_dm_sinceFunction · 0.70
_list_dir_entries_rawFunction · 0.70
_stories_for_userFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected