1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-16 07:22:43 +01:00
nix/src/libutil
Rebecca Turner 4feb7d9f71
Combine AbstractPos, PosAdapter, and Pos
Also move `SourcePath` into `libutil`.

These changes allow `error.hh` and `error.cc` to access source path and
position information, which we can use to produce better error messages
(for example, we could consider omitting filenames when two or more
consecutive stack frames originate from the same file).
2024-01-08 10:59:41 -08:00
..
args Fix nix shebang interaction with #8131 overhaul completions 2023-11-07 13:24:01 -05:00
signature Signer infrastructure: Prep for #9076 2024-01-03 16:13:55 -05:00
abstract-setting-to-json.hh Make toJSONObject const 2023-11-06 16:00:25 +01:00
ansicolor.hh Finish converting existing comments for internal API docs (#8146) 2023-04-07 13:55:28 +00:00
archive.cc malloc/memset even less 2023-12-30 00:45:11 +01:00
archive.hh Make ParseSink a bit better 2023-11-01 02:36:43 -04:00
args.cc Renamed HashFormat::Base32 to HashFormat::Nix32 2023-12-06 23:43:42 +01:00
args.hh Renamed HashFormat::Base32 to HashFormat::Nix32 2023-12-06 23:43:42 +01:00
callback.hh Ensure all headers have #pragma once and are in API docs 2023-03-31 23:19:44 -04:00
canon-path.cc Cleanup 2023-11-14 14:47:17 +01:00
canon-path.hh CanonPath: Support std::hash 2023-12-06 13:45:59 +01:00
cgroup.cc Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
cgroup.hh Ensure all headers have #pragma once and are in API docs 2023-03-31 23:19:44 -04:00
chunked-vector.hh Ensure all headers have #pragma once and are in API docs 2023-03-31 23:19:44 -04:00
closure.hh Ensure all headers have #pragma once and are in API docs 2023-03-31 23:19:44 -04:00
comparator.hh use std::tie() for macro-generated operators 2023-12-19 19:32:16 +01:00
compression.cc Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
compression.hh Rename and protect BufferedSink::write 2023-04-07 09:21:50 +02:00
compute-levels.cc Add x86_64 compute levels as additional system types 2021-02-22 09:11:15 +01:00
compute-levels.hh Ensure all headers have #pragma once and are in API docs 2023-03-31 23:19:44 -04:00
config-impl.hh Fix moves in appendOrSet 2023-11-06 16:00:25 +01:00
config.cc Merge pull request #9233 from bouk/bouk/apply-config-inner 2023-12-01 08:23:32 -05:00
config.hh Merge pull request #9233 from bouk/bouk/apply-config-inner 2023-12-01 08:23:32 -05:00
current-process.cc Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
current-process.hh Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
environment-variables.cc Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
environment-variables.hh Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
error.cc Combine AbstractPos, PosAdapter, and Pos 2024-01-08 10:59:41 -08:00
error.hh Combine AbstractPos, PosAdapter, and Pos 2024-01-08 10:59:41 -08:00
experimental-features.cc reword description for the fetch-tree experimental feature 2023-12-04 16:42:32 +01:00
experimental-features.hh Add the MountedSSHStore experimental feature 2023-11-21 13:16:46 -05:00
file-content-address.cc Organize content addressing, use SourceAccessor with Store::addToStore 2023-12-18 10:41:54 -05:00
file-content-address.hh Organize content addressing, use SourceAccessor with Store::addToStore 2023-12-18 10:41:54 -05:00
file-descriptor.cc Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
file-descriptor.hh Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
file-system.cc malloc/memset even less 2023-12-30 00:45:11 +01:00
file-system.hh Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
finally.hh Ensure all headers have #pragma once and are in API docs 2023-03-31 23:19:44 -04:00
fmt.hh fmt(): Handle std::string_view 2023-11-01 16:33:22 +01:00
fs-sink.cc Make ParseSink a bit better 2023-11-01 02:36:43 -04:00
fs-sink.hh Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
git.cc HashType: Rename to HashAlgorithm 2023-12-06 23:43:42 +01:00
git.hh HashType: Rename to HashAlgorithm 2023-12-06 23:43:42 +01:00
hash.cc Signer infrastructure: Prep for #9076 2024-01-03 16:13:55 -05:00
hash.hh Signer infrastructure: Prep for #9076 2024-01-03 16:13:55 -05:00
hilite.cc Fix incorrect comment in hiliteMatches 2022-06-05 20:30:18 +02:00
hilite.hh Ensure all headers have #pragma once and are in API docs 2023-03-31 23:19:44 -04:00
input-accessor.hh Combine AbstractPos, PosAdapter, and Pos 2024-01-08 10:59:41 -08:00
json-impls.hh Ensure all headers have #pragma once and are in API docs 2023-03-31 23:19:44 -04:00
json-utils.cc Fix derivation load assertion errors 2023-08-05 01:34:30 +02:00
json-utils.hh fix: nlohmann::adl_serializer for std::optional (#9147) 2023-11-30 01:26:39 +00:00
local.mk Signer infrastructure: Prep for #9076 2024-01-03 16:13:55 -05:00
logging.cc Combine AbstractPos, PosAdapter, and Pos 2024-01-08 10:59:41 -08:00
logging.hh Show Git fetch progress 2023-11-15 13:57:20 +01:00
lru-cache.hh Ensure all headers have #pragma once and are in API docs 2023-03-31 23:19:44 -04:00
memory-source-accessor.cc Create MemorySink 2023-11-10 11:02:37 -05:00
memory-source-accessor.hh Create MemorySink 2023-11-10 11:02:37 -05:00
monitor-fd.hh Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
namespaces.cc Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
namespaces.hh Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
pool.hh Ensure all headers have #pragma once and are in API docs 2023-03-31 23:19:44 -04:00
position.cc Combine AbstractPos, PosAdapter, and Pos 2024-01-08 10:59:41 -08:00
position.hh Combine AbstractPos, PosAdapter, and Pos 2024-01-08 10:59:41 -08:00
posix-source-accessor.cc don't malloc/memset posix accessor buffer 2023-12-19 19:32:16 +01:00
posix-source-accessor.hh PosixSourceAccessor: Cache lstat() calls 2023-12-06 13:55:54 +01:00
processes.cc Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
processes.hh Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
ref.hh Combine AbstractPos, PosAdapter, and Pos 2024-01-08 10:59:41 -08:00
references.cc Renamed HashFormat::Base32 to HashFormat::Nix32 2023-12-06 23:43:42 +01:00
references.hh HashType: Rename to HashAlgorithm 2023-12-06 23:43:42 +01:00
regex-combinators.hh Ensure all headers have #pragma once and are in API docs 2023-03-31 23:19:44 -04:00
repair-flag.hh Combine AbstractPos, PosAdapter, and Pos 2024-01-08 10:59:41 -08:00
serialise.cc malloc/memset even less 2023-12-30 00:45:11 +01:00
serialise.hh Git object hashing in libutil 2023-11-10 11:02:44 -05:00
signals.cc Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
signals.hh Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
source-accessor.cc HashType: Rename to HashAlgorithm 2023-12-06 23:43:42 +01:00
source-accessor.hh Clarify SourceAccessor methods should never implicitly follow symlinks 2023-12-08 20:00:47 -05:00
source-path.cc Combine AbstractPos, PosAdapter, and Pos 2024-01-08 10:59:41 -08:00
source-path.hh Combine AbstractPos, PosAdapter, and Pos 2024-01-08 10:59:41 -08:00
split.hh Ensure all headers have #pragma once and are in API docs 2023-03-31 23:19:44 -04:00
suggestions.cc Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
suggestions.hh Ensure all headers have #pragma once and are in API docs 2023-03-31 23:19:44 -04:00
sync.hh Ensure all headers have #pragma once and are in API docs 2023-03-31 23:19:44 -04:00
tarfile.cc fix(libutil/tarfile): add option to libarchive so it behaves correctly with AppleDouble files 2023-12-07 11:35:15 +01:00
tarfile.hh TarArchive: Remove a duplicate constant and increase the buffer size 2023-04-25 16:43:10 +02:00
terminal.cc Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
terminal.hh Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
thread-pool.cc Make some more threads receive interrupts 2024-01-03 19:30:02 +01:00
thread-pool.hh Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
topo-sort.hh Ensure all headers have #pragma once and are in API docs 2023-03-31 23:19:44 -04:00
types.hh Ensure all headers have #pragma once and are in API docs 2023-03-31 23:19:44 -04:00
unix-domain-socket.cc Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
unix-domain-socket.hh Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
url-parts.hh Merge pull request #9621 from blaggacao/fix/too-restrictive-branch-regex-master 2023-12-22 16:02:25 +01:00
url.cc Merge remote-tracking branch 'origin/master' into profile-names-instead-of-index 2023-12-21 16:21:26 +01:00
url.hh isValidSchemeName: Add function 2023-12-11 12:12:43 +01:00
users.cc Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
users.hh Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
util.cc Signer infrastructure: Prep for #9076 2024-01-03 16:13:55 -05:00
util.hh nix: Reserve shebang line syntax and only parse double backtick quotes 2023-11-07 13:24:01 -05:00
variant-wrapper.hh Fixing #7479 2023-08-18 11:44:00 -04:00
xml-writer.cc xml-writer: Remove std aliases 2022-02-25 16:13:02 +01:00
xml-writer.hh Ensure all headers have #pragma once and are in API docs 2023-03-31 23:19:44 -04:00