Files
lix/tests/unit/libutil-support/tests/test-data.hh
T
Raito Bezarius 0848a16cce libutil: guess or invent a path from file descriptors
This is useful for certain error recovery paths (no pun intended) that
does not thread through the original path name.

Change-Id: I2d800740cb4f9912e64c923120d3f977c58ccb7e
Signed-off-by: Raito Bezarius <raito@lix.systems>
2025-06-19 19:57:58 +02:00

21 lines
391 B
C++

#pragma once
#include "types.hh"
#include "environment-variables.hh"
#include "file-system.hh"
namespace nix {
/**
* The path to the unit test data directory. See the contributing guide
* in the manual for further details.
*/
Path getUnitTestData();
/**
* Resolve a path under the unit test data directory to an absolute path.
*/
Path getUnitTestDataPath(std::string_view path);
}