1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2026-03-02 04:09:18 +00:00

feat(webfuse): static file provider (#30)

* added API stub of static_filesystem

* added callback functions

* added basic directory listing

* resize filesystem if necessary

* added path stub

* adds imlementation and tests of path

* adds mock of wpf_request

* adds test implementation and some matchers

* added matcher of readdir results

* fixes default directory test

* adds implementation of static_filesystem_add and add_text

* added implementation of read

* adds implementation of filesystem_read

* corrects naming of some functions

* removes Flawfinder comments, since Flawfinder is disabled
This commit is contained in:
Falk Werner
2019-04-26 20:49:09 +02:00
committed by GitHub
parent a717248e80
commit fa78e23533
19 changed files with 1301 additions and 9 deletions

View File

@@ -23,7 +23,7 @@ static char * wf_impl_fill_buffer(
{
if (0 == strcmp("identity", format))
{
memcpy(buffer, data, count); /* Flawfinder: ignore */
memcpy(buffer, data, count);
}
else if (0 == strcmp("base64", format))
{