MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / isSafeFile

Function isSafeFile

Libraries/Http/HttpMultipartParser.h:50–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 [[nodiscard]] bool isFile() const { return isFormData() and hasFieldName() and hasFileName(); }
49 [[nodiscard]] bool hasSafeFileName() const;
50 [[nodiscard]] bool isSafeFile() const { return isFile() and hasSafeFileName(); }
51};
52
53/// @brief Incremental HTTP multipart/form-data parser

Callers

nothing calls this directly

Calls 1

isFileFunction · 0.85

Tested by

no test coverage detected