mirror of
https://github.com/nihilvux/bancho.py.git
synced 2025-09-19 12:07:55 -07:00
Add files via upload
This commit is contained in:
14
app/state/cache.py
Normal file
14
app/state/cache.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from app.objects.beatmap import Beatmap
|
||||
from app.objects.beatmap import BeatmapSet
|
||||
|
||||
|
||||
bcrypt: dict[bytes, bytes] = {} # {bcrypt: md5, ...}
|
||||
beatmap: dict[str | int, Beatmap] = {} # {md5: map, id: map, ...}
|
||||
beatmapset: dict[int, BeatmapSet] = {} # {bsid: map_set}
|
||||
unsubmitted: set[str] = set() # {md5, ...}
|
||||
needs_update: set[str] = set() # {md5, ...}
|
Reference in New Issue
Block a user