aboutsummaryrefslogtreecommitdiff
path: root/zenserver/casstore.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Unhandled switch case warningsMartin Ridgers2021-11-011-0/+3
|
* Removed MemoryOutStream, MemoryInStreamStefan Boberg2021-09-281-47/+1
| | | | | | | | BinaryWriter/BinaryReader now implements memory buffer functionality which previously needed two chained instances of a Buffer/Reader. This was originally expected to be an abstraction for file and other stream access but this is not going to be useful so may as well collapse the functionality. This also eliminates the need for stack-aware ref-counting which is the real reason for wanting to get rid of this code. This was a very old experimental feature which turned out to be a bad idea. This also removes the /cas/batch endpoint
* Changed logging implementationStefan Boberg2021-09-151-3/+3
| | | | | | * Code should no longer directly `#include spdlog/spdlog.h`, instead use `#include <zencore/logging.h>` * Instead of explicit calls to `spdlog::info(...)` and such please use the logging macros defined in `zencore/logging.h`. I.e `ZEN_INFO`, `ZEN_DEBUG`, `ZEN_TRACE`, `ZEN_ERROR`, `ZEN_CRITITCAL` * The macros will pick up the "most local" logger via a `Log()` call to retrieve a logger instance. To override the default logger in a class please implement your own `Log()` function
* Changed direct includes of spdlog/spdlog.h into zencore/logging.h to make it ↵Stefan Boberg2021-09-151-1/+1
| | | | easier to tweak implementation
* HttpResponse enum -> HttpResponseCodeStefan Boberg2021-09-121-8/+8
| | | | Also removed initial CbPackage API HttpServer changes as I have decided to take a different approach
* IoHash::HashMemory -> IoHash::HashBuffer for consistency with UE5 codeStefan Boberg2021-09-021-2/+2
|
* Removed pointer-based InsertChunk from CAS store interface.Stefan Boberg2021-05-251-2/+2
| | | | All code must now use the IoBuffer path
* Adding zenservice codeStefan Boberg2021-05-111-0/+155