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/get-drvs.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libexpr/get-drvs.hh') diff --git a/src/libexpr/get-drvs.hh b/src/libexpr/get-drvs.hh index 4fb8f43feea9..84ffe25cabfe 100644 --- a/src/libexpr/get-drvs.hh +++ b/src/libexpr/get-drvs.hh @@ -49,8 +49,8 @@ typedef list DrvInfos; Otherwise, return false. */ bool getDerivation(EvalState & state, Expr e, DrvInfo & drv); -void getDerivations(EvalState & state, Expr e, DrvInfos & drvs, - const string & attrPath = ""); +void getDerivations(EvalState & state, Expr e, const string & pathPrefix, + DrvInfos & drvs); #endif /* !__GET_DRVS_H */ -- cgit 1.4.1