add newline at end of file

pull/105/head
Falk Werner 1 year ago
parent 5db3b28b5a
commit 7d4f3a1d86

2
.gitignore vendored

@ -1,3 +1,3 @@
/build/
/.vscode/
*.pem
*.pem

@ -126,4 +126,4 @@ if(NOT(WITHOUT_TEST))
add_custom_target(memcheck COMMAND valgrind --leak-check=full --error-exitcode=1 ./unit_tests)
endif()
endif()
endif()

@ -23,4 +23,4 @@ service --> user : [., ..]
end
...
@enduml
@enduml

@ -71,4 +71,4 @@ filesystem via fuse and exposes it's API via websockets.
`webfuse -f --wf-cert /path/to/cert --wf-key /path/to/key /path/to/mountpoint`
- run webfuse using authentication via `X-Auth-Token` header:
`webfuse -f --wf-authenticator /path/to/authenticator \`
` --wf-auth-header X-Auth-Token /path/to/mountpoint`
` --wf-auth-header X-Auth-Token /path/to/mountpoint`

@ -1 +1 @@
websockets==10.4
websockets==10.4

@ -4,4 +4,4 @@ int main(int argc, char* argv[])
{
webfuse::app app;
return app.run(argc, argv);
}
}

@ -485,4 +485,4 @@ int main(int argc, char* argv[])
}
return ctx.exit_code;
}
}

@ -426,4 +426,4 @@ std::string filesystem::get_credentials()
}
}
}

@ -38,4 +38,4 @@ int access_mode::to_int() const
}
}
}

@ -137,5 +137,4 @@ std::string empty_filesystem::get_credentials()
}
}
}

@ -47,4 +47,4 @@ mode_t filemode::to_mode() const
}
}
}

@ -40,4 +40,4 @@ void filesystem_statistics::copy_to(struct statvfs & other) const
other.f_namemax = f_namemax;
}
}
}

@ -76,4 +76,4 @@ int openflags::to_int() const
}
}
}

@ -119,4 +119,4 @@ bool status::is_good() const
}
}
}

@ -61,4 +61,4 @@ private:
}
#endif
#endif

@ -301,4 +301,4 @@ void fuse::print_usage()
}
}
}

@ -434,4 +434,4 @@ void provider::set_connection_listener(std::function<void(bool)> listener)
d->set_connection_listener(listener);
}
}
}

@ -35,4 +35,4 @@ request_type get_request_type(uint8_t value)
}
}
}
}

@ -38,4 +38,4 @@ request_type get_request_type(uint8_t value);
}
#endif
#endif

@ -36,4 +36,4 @@ response_type get_response_type(request_type value)
}
}
}

@ -39,4 +39,4 @@ response_type get_response_type(request_type value);
}
#endif
#endif

@ -51,5 +51,4 @@ bool authenticator::authenticate(std::string const & token)
}
}
}

@ -53,4 +53,4 @@ char ** commandline_args::get_argv()
}
}
}

@ -27,4 +27,4 @@ char const * commandline_reader::current() const
}
}
}

@ -8,4 +8,4 @@ char const * get_version()
return "@webfuse_VERSION@";
}
}
}

@ -44,4 +44,4 @@ WEBFUSE options:
return config.exit_code;
}
}
}

@ -12,4 +12,4 @@ public:
}
#endif
#endif

@ -237,4 +237,4 @@ void ws_client::set_connection_listener(std::function<void(bool)> listener)
d->set_connection_listener(listener);
}
}
}

@ -111,4 +111,4 @@ ws_config::ws_config(int argc, char * argv[])
}
}
}

@ -192,4 +192,4 @@ int messagereader::read_openflags()
}
}
}

@ -220,4 +220,4 @@ unsigned char * messagewriter::get_data(size_t &size)
}
}
}

@ -176,4 +176,4 @@ messagereader ws_server::perform(messagewriter writer)
}
}
}

@ -305,4 +305,4 @@ void server_handler::finish_authentication(lws * wsi, messagereader reader)
}
}
}

@ -67,4 +67,4 @@ ws_url::ws_url(std::string const & url)
}
}
}

@ -41,4 +41,4 @@ TEST(unlink, success)
auto const path = fixture.get_path() + "/some_file";
ASSERT_EQ(0, ::unlink(path.c_str()));
}
}

@ -34,4 +34,4 @@ daemon::~daemon()
p.kill(SIGINT);
}
}
}

@ -60,4 +60,4 @@ std::string const & fixture::get_path() const
}
}
}

@ -90,4 +90,4 @@ int process::wait()
return exit_code;
}
}
}

@ -20,4 +20,4 @@ std::string const & tempdir::name() const
return path;
}
}
}

@ -22,4 +22,4 @@ INSTANTIATE_TEST_CASE_P(filemode_value, filemode_test,
S_IFREG | 0644,
S_IFDIR | 0755
)
);
);

@ -21,4 +21,4 @@ INSTANTIATE_TEST_CASE_P(openflags_values, openflags_test,
O_NDELAY, O_SYNC,
O_WRONLY | O_CREAT | O_TRUNC
)
);
);

@ -34,4 +34,4 @@ TEST(request_type, unknown_values)
ASSERT_EQ(expected, webfuse::get_request_type(0x80));
ASSERT_EQ(expected, webfuse::get_request_type(0x42));
ASSERT_EQ(expected, webfuse::get_request_type(0xff));
}
}

@ -35,4 +35,4 @@ TEST(respones_type, unknown_values)
ASSERT_EQ(expected, webfuse::get_response_type(static_cast<request_type>(80)));
ASSERT_EQ(expected, webfuse::get_response_type(static_cast<request_type>(0x42)));
ASSERT_EQ(expected, webfuse::get_response_type(static_cast<request_type>(0xff)));
}
}

Loading…
Cancel
Save