const classfantorepo::PodVersion

sys::Obj
  fantorepo::PodVersion : fanlink::MongoDoc

PodVersion Specific version of a pod

_id

virtual const override ObjectID? _id

asPodSpec

PodSpec asPodSpec()

filePath

const Str? filePath

find

const static PodVersion? find(DB db, Str podName, Str podVersion)

find a specific version of that pod

findAll

const static PodVersion[] findAll(DB db, Str podName)

find all versions of that pod

insert

Void insert(DB db)

make

new make(|This f)

makeNew

new makeNew(PodSpec spec, File newFile, Str owner)

meta

const Str:Str meta := [Str:Str][:]

name

const Str? name

Name of this version. ie: 1.0.0

pod

const Str pod

The pod name this version is of

podLower

const Str? podLower

same but all lower case, to search against

size

const Int? size

toStr

virtual override Str toStr()