From b095c06139fa267e6050e4c95208c627cc6251b8 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Tue, 13 Feb 2018 18:28:27 -0500 Subject: Add splitVersion primop. Fixes #1868. --- src/libexpr/names.hh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libexpr/names.hh') diff --git a/src/libexpr/names.hh b/src/libexpr/names.hh index 9667fc96fd0f..13c3093e77b0 100644 --- a/src/libexpr/names.hh +++ b/src/libexpr/names.hh @@ -24,6 +24,8 @@ private: typedef list DrvNames; +string nextComponent(string::const_iterator & p, + const string::const_iterator end); int compareVersions(const string & v1, const string & v2); DrvNames drvNamesFromArgs(const Strings & opArgs); -- cgit 1.4.1