34 explicit KnownHosts(std::filesystem::path user_file, std::filesystem::path global_file = {});
38 Result<void> add(std::string_view host, std::uint16_t port,
const Key&, std::string_view comment = {});
44 std::filesystem::path user_file_;
45 std::filesystem::path global_file_;
Definition known_hosts.hpp:20
std::string marker
Definition known_hosts.hpp:22
Key key
Definition known_hosts.hpp:24
std::string hosts_field
Definition known_hosts.hpp:21
KeyType key_type
Definition known_hosts.hpp:23
std::string comment
Definition known_hosts.hpp:25
std::filesystem::path file
Definition known_hosts.hpp:26
int line
Definition known_hosts.hpp:27