-
Notifications
You must be signed in to change notification settings - Fork 4
Fixed documentation strings so the docs site can build #44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -655,7 +655,7 @@ class ConfigBase : public ConfigSig { | |
/// - `value` -- replaces current value with given string view | ||
void operator=(std::string_view value) { *this = std::string{value}; } | ||
|
||
/// API: base/ConfigBase::DictFieldProxy::operator=(std::span<const unsigned char>) | ||
/// API: base/ConfigBase::DictFieldProxy::operator | ||
/// | ||
/// Replaces the current value with the given std::span<const unsigned char>. This also | ||
/// auto-vivifies any intermediate dicts needed to reach the given key, including replacing | ||
|
@@ -1263,6 +1263,9 @@ class ConfigBase : public ConfigSig { | |
/// | ||
/// Note that only *incomplete* partial sets are affected by this (and stored); we also | ||
/// separately retain metadata about *completed* multipart sets (see MULTIPART_MAX_REMEMBER). | ||
/// | ||
/// Inputs: None | ||
/// | ||
std::chrono::milliseconds MULTIPART_MAX_WAIT = 7 * 24h; | ||
|
||
/// API: base/ConfigBase::MULTIPART_MAX_REMEMBER | ||
|
@@ -1272,6 +1275,9 @@ class ConfigBase : public ConfigSig { | |
/// | ||
/// Unlike MULTIPART_MAX_WAIT, such storage does not include the data itself, but merely the | ||
/// (final) config hash and timestamp of the recombined parts needed for deduplication. | ||
/// | ||
/// Inputs: None | ||
/// | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Likewise |
||
std::chrono::milliseconds MULTIPART_MAX_REMEMBER = 14 * 24h; | ||
|
||
/// API: base/ConfigBase::add_key | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,6 +62,9 @@ void encrypt_inplace( | |
/// | ||
/// That is, for some message `m`, encrypt_overhead() is the difference between m.size() and | ||
/// encrypt(m).size(). | ||
/// | ||
/// Inputs: None | ||
/// | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This one is indeed a parser problem; I've added a change in #45 that recognizes this as a constant automatically, but also adds a new |
||
constexpr size_t ENCRYPT_DATA_OVERHEAD = 40; // ABYTES + NPUBBYTES | ||
|
||
/// Thrown if decrypt() fails. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is caused by missing
/// Member variable.
(fixed in #45)