mirror of
https://github.com/NixOS/nix
synced 2025-06-29 23:13:14 +02:00
Use enum struct
and drop prefixes
This does a few enums; the rest will be gotten in subsequent commits.
This commit is contained in:
parent
eb1911e277
commit
87b32bab05
57 changed files with 382 additions and 354 deletions
|
@ -430,7 +430,7 @@ void deletePath(const Path & path)
|
|||
|
||||
void deletePath(const Path & path, unsigned long long & bytesFreed)
|
||||
{
|
||||
//Activity act(*logger, lvlDebug, format("recursively deleting path '%1%'") % path);
|
||||
//Activity act(*logger, Verbosity::Debug, format("recursively deleting path '%1%'") % path);
|
||||
bytesFreed = 0;
|
||||
_deletePath(path, bytesFreed);
|
||||
}
|
||||
|
@ -1410,7 +1410,7 @@ string base64Decode(const string & s)
|
|||
|
||||
char digit = decode[(unsigned char) c];
|
||||
if (digit == -1)
|
||||
throw Error("invalid character in Base64 string");
|
||||
throw Error("invalid character in Base::Base64 string");
|
||||
|
||||
bits += 6;
|
||||
d = d << 6 | digit;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue