1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 10:41:16 +02:00
nix/src/libstore-c
John Ericson d972f9e2e2 Split out store-open.hh and store-registration.hh
The existing header is a bit too big. Now the following use-cases are
separated, and get their own headers:

- Using or implementing an arbitrary store: remaining `store-api.hh`

  This is closer to just being about the `Store` (and `StoreConfig`)
  classes, as one would expect.

- Opening a store from a textual description: `store-open.hh`

  Opening an aribtrary store implementation like this requires some sort
  of store registration mechanism to exists, but the caller doesn't need
  to know how it works. This just exposes the functions which use such a
  mechanism, without exposing the mechanism itself

- Registering a store implementation: `store-registration.hh`

  This requires understanding how the mechanism actually works, and the
  mechanism in question involves templated machinery in headers we
  rather not expose to things that don't need it, as it would slow down
  compilation for no reason.
2025-05-14 16:07:57 -04:00
..
.version Mesonify other external API 2024-07-02 09:23:24 -04:00
meson.build Cleanup config headers 2025-03-31 23:28:36 -04:00
nix-meson-build-support rename: build-utils-meson -> nix-meson-build-support 2024-12-09 16:54:42 +01:00
nix_api_store.cc Split out store-open.hh and store-registration.hh 2025-05-14 16:07:57 -04:00
nix_api_store.h C API: Add nix_store_real_path 2024-12-14 17:25:41 +00:00
nix_api_store_internal.h Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
package.nix Write just ./.version on all components 2025-02-18 11:41:35 +01:00