MECO™ API Reference
Functions
mMeco.core.packageLib Namespace Reference

[ MODULE ] - Package utils. More...

Functions

def getVersionOfAPackage (path, packageName, version=mMeco.fileSystem.versionLib.Version.kLatest)
 Get version of a package. More...
 

Detailed Description

[ MODULE ] - Package utils.

Function Documentation

◆ getVersionOfAPackage()

def mMeco.core.packageLib.getVersionOfAPackage (   path,
  packageName,
  version = mMeco.fileSystem.versionLib.Version.kLatest 
)

Get version of a package.

Parameters
path[ str | None | in ] - Path, where the package is.
packageName[ str | None | in ] - Name of the package.
version[ enum | None | in ] - Requested version from mMeco.fileSystem.versionLib.Version enum class.
Exceptions
N/A
Returns
None - If no versioned folder found.
str - Versioned folder.