MCPcopy Create free account
hub / github.com/vastsa/FileCodeBox / file_storage

Method file_storage

apps/admin/services.py:77–80  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

75
76 @property
77 def file_storage(self) -> FileStorageInterface:
78 if self._file_storage is None:
79 self._file_storage = storages[settings.file_storage]()
80 return self._file_storage
81
82 def _file_metadata_key(self, file_id: int) -> str:
83 return f"{self.FILE_METADATA_KEY_PREFIX}{file_id}"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected