docs
docs copied to clipboard
[question] Request for docs: conan_server StorageAdapter
https://docs.conan.io/en/latest/uploading_packages/running_your_server.html mentions
Conan has implemented an extensible storage backend based on the abstract class StorageAdapter. Currently, the server only supports storage on disk. The folder in which the uploaded packages are stored (i.e., the folder you would want to backup) is defined in the disk_storage_path.
Where can I find more documentation on the StorageAdapter interface? I did not find it in the source under https://github.com/conan-io/conan/tree/develop/conans/server/store.
Any help is appreciated :)
This is an issue for the docs, transferring it to the right repo.
There is no documentation for the StorageAdapter, and I think documenting such parts of the code explicitly will be unlikely a priority in the short term, we still have lots of document of much more urgent parts, specially 2.0.
The current implementation of this Adapter is ServerDiskAdapter, and it is only around 90 lines of relatively straightforward code, so I would recommend having a look at the code directly.