1#ifndef IPFS_GENERATED_DIRECTORY_LISTING_H_
2#define IPFS_GENERATED_DIRECTORY_LISTING_H_
25 void AddEntry(std::string_view name);
31 std::string
const&
Finish();
35 std::string base_path_;
37 void AddLink(std::string_view name, std::string_view path);
An index.html listing out a directory node's content.
Definition generated_directory_listing.h:12
std::string const & Finish()
Finish up all the HTML stuff at the end.
Definition generated_directory_listing.cc:44
void AddEntry(std::string_view name)
Add an entry to the list.
Definition generated_directory_listing.cc:28
Just an observing (non-owning) pointer.
Definition raw_ptr.h:31