1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-12 05:26:02 +01:00
nix/src/libutil
Carlo Nucera 289b9b8dcf Create a new TeeSink abstraction
This is a bit complex because we want to expose extra functionality the
wrapped class has. Perhaps there is some inheritancy trickery to do this
nicer, but I don't know it, and this is the first thing we tried after a
series of attempts that did build.

This design is kind of like that of Rust's Writer, Reader, or Iter
adapters, which impliment more traits based on what the inner type
implements.
2020-06-17 22:09:32 +00:00
..
tests Fix logging unit tests 2020-06-16 10:23:15 +02:00
affinity.cc affinity operator<< 2020-05-04 14:44:00 -06:00
affinity.hh Run the daemon worker on the same CPU as the client 2013-08-07 14:02:04 +02:00
ansicolor.hh Use ansicolor.hh in nix repl rather than duplicates 2020-06-17 15:13:00 +00:00
archive.cc remove 'format' from Error constructor calls 2020-04-21 17:07:07 -06:00
archive.hh Eliminate old TeeSink abstraction 2020-06-17 22:07:22 +00:00
args.cc Merge remote-tracking branch 'upstream/master' into errors-phase-2 2020-06-11 14:06:35 -06:00
args.hh Make 'nix dev-shell' a deprecated alias for 'nix develop' 2020-06-04 11:14:19 +02:00
compression.cc remove 'format' from Error constructor calls 2020-04-21 17:07:07 -06:00
compression.hh Create a new TeeSink abstraction 2020-06-17 22:09:32 +00:00
config.cc config.cc: extract parts of applyConfigFile into applyConfig 2020-05-27 17:47:18 +02:00
config.hh Add another missing #include 2020-06-16 14:19:49 +00:00
error.cc Respect terminal width printing error messages 2020-06-15 19:35:31 +02:00
error.hh Add mising #include for strerror 2020-06-15 23:35:07 +00:00
finally.hh Add missing #include 2016-11-07 14:35:47 +01:00
fmt.hh implement SysError errno handling 2020-05-06 14:07:20 -06:00
hash.cc Use std::string_view in a few more places 2020-06-12 21:32:30 +00:00
hash.hh Use std::string_view in a few more places 2020-06-12 21:32:30 +00:00
istringstream_nocopy.hh Move istringstream_nocopy to a separate file 2017-03-21 14:43:03 +01:00
json.cc replaced uncaught_exception with uncaught_exceptions 2020-06-17 03:15:47 +01:00
json.hh Make std::uncaught_exception warning less noisy 2019-10-09 23:04:11 +02:00
lazy.hh Figure out the user's home directory if $HOME is not set 2017-05-05 17:08:23 +02:00
local.mk StorePath: Rewrite in C++ 2020-06-16 14:28:41 +02:00
logging.cc Remove trailing whitespace 2020-06-15 14:12:39 +02:00
logging.hh Improve "waiting for locks" messages 2020-06-15 16:03:29 +02:00
lru-cache.hh Missing #include <cassert> in lru-cache.hh (#3654) 2020-06-03 10:15:22 +00:00
monitor-fd.hh monitor-fds: Fix on macOS. 2018-02-14 18:26:37 -05:00
pool.hh RemoteStore: Close connection if an exception occurs 2018-10-16 23:36:15 +02:00
ref.hh Allow setting the state directory as a store parameter 2016-06-02 16:02:48 +02:00
rust-ffi.cc StorePath: Rewrite in C++ 2020-06-16 14:28:41 +02:00
rust-ffi.hh StorePath: Rewrite in C++ 2020-06-16 14:28:41 +02:00
serialise.cc Get rid of explicit ErrorInfo constructors 2020-06-15 14:06:58 +02:00
serialise.hh Create a new TeeSink abstraction 2020-06-17 22:09:32 +00:00
sync.hh sync.hh: return cv_status instead of dropping it, in case useful. 2018-06-18 17:31:00 -05:00
tarfile.cc tarfile.cc: Restore timestamps 2019-12-19 15:09:54 +01:00
tarfile.hh libarchive proof of concept 2019-12-07 22:35:14 +07:00
thread-pool.cc Fix a hang in ThreadPool 2017-10-09 15:41:09 +02:00
thread-pool.hh Fix extra ; warnings involving MakeError 2019-11-10 11:24:47 -05:00
types.hh Disambiguate BaseError(Args) constructor 2020-06-15 13:50:33 +02:00
url.cc Improve ref validity checking in fetchGit 2020-05-30 12:29:35 +02:00
url.hh Merge remote-tracking branch 'upstream/master' into errors-phase-2 2020-06-03 17:00:00 -06:00
util.cc Merge pull request #3707 from p01arst0rm/outdated-function-fix 2020-06-17 18:26:01 +02:00
util.hh Merge branch 'errors-phase-2' of https://github.com/bburdette/nix 2020-06-15 11:46:31 +02:00
xml-writer.cc Cleanup 2019-11-06 16:53:02 +01:00
xml-writer.hh Fix some random -Wconversion warnings 2018-05-02 13:56:34 +02:00