Robert Hensing
2a98168942
C API: Add nix_store_real_path
2024-12-14 17:25:41 +00:00
Robert Hensing
472912f7ca
C API: Add nix_store_get_storedir
2024-12-14 17:25:41 +00:00
Robert Hensing
80ee736b02
C API: document nix_store_open NULL URI
...
tl;dr NULL is better than "auto"
2024-12-14 17:25:40 +00:00
Eelco Dolstra
02f0294be0
Fix most DoxyGen warnings
...
Helps with #11841 .
2024-11-12 15:34:24 +01:00
Emery Hemingway
5d28a00322
Add nix_store_copy_closure to libstore-c
2024-08-23 12:49:39 +03:00
John Ericson
0feeab755a
Move plugins infra to libnixmain
...
They are not actually part of the store layer, but instead part of the
Nix executable infra (libraries don't need plugins, executables do).
This is part of a larger project of moving all of our legacy settings
infra to libmain, and having the underlying libraries just have plain
configuration structs detached from any settings infra / UI layer.
Progress on #5638
2024-07-15 17:26:03 -04:00
Philipp
2bd66922ee
add empty line to documentation comments after @brief
field ( #10800 )
...
* add empty line to documentation comments after `@brief` field
Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com>
2024-05-28 23:05:40 +00:00
Philipp
e0bfa6c55f
small additions to the documentation of nix_store_open
and nix_state_create
( #10728 )
2024-05-20 08:27:33 +02:00
Philipp Zander
359043ed0d
add missing c api parameter names to documentation
2024-05-16 02:55:38 +02:00
Robert Hensing
e05b58b060
init: Add flag to avoid loading configuration
2024-04-20 01:45:04 +02:00
José Luis Lafuente
774e7213e8
C API: Use nix_get_string_callback
typedef
2024-04-15 12:05:57 +02:00
José Luis Lafuente
01bad63c72
C API: Safer function pointer casting
...
See https://github.com/NixOS/nix/pull/8699#discussion_r1554312181
Casting a function pointer to `void*` is undefined behavior in the C
spec, since there are platforms with different sizes for these two kinds
of pointers. A safe alternative might be `void (*callback)()`
2024-04-12 21:41:15 +02:00
Robert Hensing
f2522d4ecd
libexpr-c: Add nix_store_path_name
2024-04-11 17:39:21 +02:00
Robert Hensing
1233bcde37
libstore-c: Add nix_store_path_clone
2024-04-11 17:39:21 +02:00
Robert Hensing
48808a5320
tests/unit/libexpr: Enable nix_store_realise test, and add docs
2024-04-11 17:39:21 +02:00
José Luis Lafuente
2bb609bce2
C API: rename nix_observe_string -> nix_get_string_callback
2024-03-29 10:01:16 +01:00
José Luis Lafuente
c57de60522
C API: Keep the structure flat
...
See https://github.com/NixOS/nix/pull/10329
2024-03-28 19:00:04 +01:00