bdcs-0.2.0: Tools for managing a content store of software packages

Copyright(c) 2016-2017 Red Hat Inc.
LicenseLGPL
Maintainerhttps://github.com/weldr
Stabilityalpha
Portabilityportable
Safe HaskellSafe
LanguageHaskell2010

BDCS.RPM.Utils

Description

Utility functions for BDCS.RPM

Synopsis

Documentation

splitFilename :: Text -> (Text, Maybe Text, Text, Text, Text) Source #

Turn an RPM filename in form of "NAME-[EPOCH:]VERSION-RELEASE.ARCH[.rpm] into a tuple of (name, epoch, version, release, and arch).