1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-30 07:33:16 +02:00

libstore-c: Add nix_store_path_clone

This commit is contained in:
Robert Hensing 2024-04-08 10:34:58 +02:00
parent 48808a5320
commit 1233bcde37
2 changed files with 13 additions and 0 deletions

View file

@ -132,3 +132,8 @@ void nix_store_path_free(StorePath * sp)
{
delete sp;
}
StorePath * nix_store_path_clone(const StorePath * p)
{
return new StorePath{p->path};
}