const classfantorepo::PodInfo

sys::Obj
  fantorepo::PodInfo : fanlink::MongoDoc

PodInfo object Top level pod infos (with individual version as PodVersion#)

_id

virtual const override ObjectID? _id

decDependants

const static Void decDependants(DB db, Str podName)

dirPath

const Str? dirPath

find

const static PodInfo[] find(DB db, Str podName)

findOne

const static PodInfo? findOne(DB db, Str podName)

incDependants

const static Void incDependants(DB db, Str podName)

incFetches

const static Void incFetches(DB db, Str podName)

insert

Void insert(DB db)

isPrivate

const Bool? isPrivate := false

lastModif

const Int? lastModif

lastVersion

const Str? lastVersion

list

const static PodInfo[] list(DB db)

listByOwner

const static PodInfo[] listByOwner(DB db, User? u)

make

new make(|This f)

makeNew

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

name

const Str name

nameLower

const Str nameLower

lower case name for searching

nbDependants

const Int? nbDependants := 0

nbFetches

const Int? nbFetches := 0

owner

const Str? owner

remove

const static Void remove(DB db, Str podName)

Delete pod and it's version (only allowed via web interface and only for private pods)

searchPods

const static List searchPods(DB db, Str query)

Search pod names and summary (can use patterns) Because we bypass fanlink we get a plain list as the result (not deserialized back into PodInfo)

summary

const Str? summary

update

Void update(DB db)

vcsUri

const Str? vcsUri