const classfantorepo302::PodInfo
sys::Obj fantorepo302::PodInfo : fanlink::MongoDoc
PodInfo object Top level pod infos (with individual version as PodVersion#)
- _id
virtual const override ObjectID? _id- decDependants
- dirPath
const Str? dirPath- find
- findOne
- incDependants
- incFetches
- insert
Void insert(DB db)- isPrivate
const Bool? isPrivate := false- lastModif
const Int? lastModif- lastVersion
const Str? lastVersion- list
static PodInfo[] list(DB db)- listByOwner
- make
new make(|This f)- makeNew
new makeNew(PodSpec spec, File newFile, Str owner, Int nbFetches := 0, Int nbDependants := 0)- name
const Str name- nameLower
const Str nameLowerlower case name for searching
- nbDependants
const Int? nbDependants := 0- nbFetches
const Int? nbFetches := 0- owner
const Str? owner- remove
static Void remove(DB db, Str podName)Delete pod and it's version (only allowed via web interface and only for private pods)
- searchPods
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