diff options
author | Shea Levy <shea@shealevy.com> | 2018-02-13T23·28-0500 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2018-02-14T14·55-0500 |
commit | b095c06139fa267e6050e4c95208c627cc6251b8 (patch) | |
tree | 3fb353d3eaa7334a127d5fe30cd6499abe002d16 /src/libexpr/names.hh | |
parent | 3fe9767dd33499c2560d209dc13a01f5fcead1f0 (diff) |
Add splitVersion primop.
Fixes #1868.
Diffstat (limited to 'src/libexpr/names.hh')
-rw-r--r-- | src/libexpr/names.hh | 2 |
1 files changed, 2 insertions, 0 deletions
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<DrvName> 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); |