refactor(3p/nix): Apply clang-tidy's readability-* fixes
This applies the readability fixes listed here: https://clang.llvm.org/extra/clang-tidy/checks/list.html
This commit is contained in:
parent
d331d3a0b5
commit
689ef502f5
78 changed files with 863 additions and 792 deletions
4
third_party/nix/src/libstore/crypto.hh
vendored
4
third_party/nix/src/libstore/crypto.hh
vendored
|
|
@ -24,13 +24,13 @@ struct SecretKey : Key {
|
|||
SecretKey(const std::string& s);
|
||||
|
||||
/* Return a detached signature of the given string. */
|
||||
std::string signDetached(const std::string& s) const;
|
||||
std::string signDetached(const std::string& data) const;
|
||||
|
||||
PublicKey toPublicKey() const;
|
||||
};
|
||||
|
||||
struct PublicKey : Key {
|
||||
PublicKey(const std::string& data);
|
||||
PublicKey(const std::string& s);
|
||||
|
||||
private:
|
||||
PublicKey(const std::string& name, const std::string& key) : Key(name, key) {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue