const classcamFantomPlugin::FantomIndex

sys::Obj
  camFantomPlugin::FantomIndex

Index maintains listing of files and pods we've crawled

groupForFile

Source

PodGroup? groupForFile(File file)

Find given pod

groups

Source

PodGroup[] groups()

List all groups found

isGroupDir

Source

PodGroup? isGroupDir(File f)

Whether this is the srcDir(root) of a group Returns the matching group or null if no match

isIndexing

Source

Bool isIndexing()

Are we currently indexing

isPodDir

Source

PodInfo? isPodDir(File f)

Whether this is the srcDir(root) of a pod Returns the matching pod or null if no match

matchFiles

Source

Item[] matchFiles(Str pattern, MatchKind kind := MatchKind.startsWith)

Match files

matchFuncs

Source

FuncInfo[] matchFuncs(Str pattern, MatchKind kind := MatchKind.startsWith)

Match funcs

matchPods

Source

PodInfo[] matchPods(Str pattern, MatchKind kind := MatchKind.startsWith)

Match pods

matchSlots

Source

SlotInfo[] matchSlots(Str pattern, MatchKind kind := MatchKind.startsWith, Bool methodsOnly := true)

Match slots

matchTags

Source

TagInfo[] matchTags(Str pattern, MatchKind kind := MatchKind.startsWith)

Match tags

matchTypes

Source

TypeInfo[] matchTypes(Str pattern, MatchKind kind := MatchKind.startsWith)

Match types

pod

Source

PodInfo? pod(Str name, Bool checked := true)

Find given pod

podForFile

Source

PodInfo? podForFile(File file)

Find given pod

pods

Source

PodInfo[] pods()

List all pods found

podsIndexed

Source

const AtomicBool podsIndexed := AtomicBool.<ctor>()

Whether we have done the initial pod indexing

reindex

Source

Void reindex(File[] srcDirs, File[] podDirs, Bool clearIndex := false)

Reindex given sources / pods

reindexPod

Source

Void reindexPod(PodInfo? pod)

Rebuild index for given pod, if null no-op

trioInfo

Source

Str:TrioInfo trioInfo()