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:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user