lix/src/libutil
Vladimír Čunát 818aad3ec4
Detect and disallow base32 hash overflow
Example (before this commit):
$ nix-hash --type sha256 --to-base16 4n0igfxbd3kqvvj2k2xgysrp63l4v2gd110fwkk4apfpm0hvzwh0 \
    | xargs nix-hash --type sha256 --to-base32
0n0igfxbd3kqvvj2k2xgysrp63l4v2gd110fwkk4apfpm0hvzwh0

It's a real-life example:
https://github.com/NixOS/nixpkgs/pull/20208/files#r86695567
2016-11-06 22:17:37 +01:00
..
affinity.cc printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
affinity.hh Run the daemon worker on the same CPU as the client 2013-08-07 14:02:04 +02:00
archive.cc Fix Darwin build 2016-10-19 15:21:18 +02:00
archive.hh Add NAR / Store accessor abstraction 2016-02-25 17:43:19 +01:00
args.cc nix --help: Show short flags 2016-04-21 14:34:46 +02:00
args.hh Some notational convenience for formatting strings 2016-09-21 16:54:53 +02:00
compression.cc Do compression in a sink 2016-05-04 16:16:53 +02:00
compression.hh Do compression in a sink 2016-05-04 16:16:53 +02:00
finally.hh Eliminate the substituter mechanism 2016-04-29 13:57:08 +02:00
hash.cc Detect and disallow base32 hash overflow 2016-11-06 22:17:37 +01:00
hash.hh Cache path info lookups in SQLite 2016-04-20 14:12:38 +02:00
json.cc toJSON(): Support some more types 2016-10-06 17:00:52 +02:00
json.hh toJSON(): Support some more types 2016-10-06 17:00:52 +02:00
local.mk use $(LIBLZMA_LIBS) instead of -llzma 2016-05-31 03:20:11 -04:00
logging.cc printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
logging.hh Some notational convenience for formatting strings 2016-09-21 16:54:53 +02:00
lru-cache.hh Move path info caching from BinaryCacheStore to Store 2016-04-19 18:52:53 +02:00
monitor-fd.hh Pedantry 2014-12-14 01:51:14 +01:00
pool.hh std::condition_variable_any -> std::condition_variable 2016-02-24 13:31:46 +01:00
ref.hh Allow setting the state directory as a store parameter 2016-06-02 16:02:48 +02:00
serialise.cc printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
serialise.hh FdSink: Restore move constructor/assignment 2016-07-13 06:27:41 -04:00
sync.hh Add some functions needed by hydra 2016-10-12 15:49:37 +02:00
thread-pool.cc printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
thread-pool.hh Fix assertion failure in ThreadPool::enqueue() 2016-07-21 18:14:16 +02:00
types.hh Some notational convenience for formatting strings 2016-09-21 16:54:53 +02:00
util.cc Add some functions needed by hydra 2016-10-12 15:49:37 +02:00
util.hh Add some functions needed by hydra 2016-10-12 15:49:37 +02:00
xml-writer.cc OCD: foreach -> C++11 ranged for 2015-07-17 20:13:56 +02:00
xml-writer.hh And another one 2014-02-26 18:55:18 +01:00