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

static Void decDependants(DB db, Str podName)

dirPath

const Str? dirPath

find

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

findOne

static PodInfo? findOne(DB db, Str podName)

incDependants

static Void incDependants(DB db, Str podName)

incFetches

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

static PodInfo[] list(DB db)

listByOwner

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

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 nameLower

lower 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