From ca2238cf818e27ebb663c83a9fe9ae7f58eb830f Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 26 Jul 2006 15:05:15 +0000 Subject: * Refactoring: get the selection path stuff out of getDerivations() and put it into a separate function findAlongAttrPath(). --- src/libexpr/attr-path.hh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/libexpr/attr-path.hh (limited to 'src/libexpr/attr-path.hh') diff --git a/src/libexpr/attr-path.hh b/src/libexpr/attr-path.hh new file mode 100644 index 000000000000..f64ef7a7cdee --- /dev/null +++ b/src/libexpr/attr-path.hh @@ -0,0 +1,13 @@ +#ifndef __ATTR_PATH_H +#define __ATTR_PATH_H + +#include +#include + +#include "eval.hh" + + +Expr findAlongAttrPath(EvalState & state, const string & attrPath, Expr e); + + +#endif /* !__ATTR_PATH_H */ -- cgit 1.4.1