MCPcopy Index your code
hub / github.com/vastsa/FileCodeBox / get_now

Function get_now

core/utils.py:35–40  ·  view source on GitHub ↗

获取当前时间 :return:

()

Source from the content-addressed store, hash-verified

33
34
35async def get_now():
36 """
37 获取当前时间
38 :return:
39 """
40 return datetime.datetime.now(datetime.timezone(datetime.timedelta(hours=8)))
41
42
43async def get_select_token(code: str):

Callers 15

delete_expire_filesFunction · 0.90
clean_incomplete_uploadsFunction · 0.90
get_file_path_nameFunction · 0.90
get_chunk_file_path_nameFunction · 0.90
get_expire_infoFunction · 0.90
is_expiredMethod · 0.90
is_expiredMethod · 0.90
presign_upload_initFunction · 0.90
update_file_metadataMethod · 0.90
save_file_view_presetMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected