const classcamFantomPlugin::FantomIndex
sys::Obj camFantomPlugin::FantomIndex
Index maintains listing of files and pods we've crawled
- groupForFile
PodGroup? groupForFile(File file)
Find given pod
- groups
PodGroup[] groups()
List all groups found
- isGroupDir
Whether this is the srcDir(root) of a group Returns the matching group or null if no match
- isIndexing
Bool isIndexing()
Are we currently indexing
- isPodDir
Whether this is the srcDir(root) of a pod Returns the matching pod or null if no match
- matchFiles
Item[] matchFiles(Str pattern, MatchKind kind := MatchKind.startsWith)
Match files
- matchFuncs
FuncInfo[] matchFuncs(Str pattern, MatchKind kind := MatchKind.startsWith)
Match funcs
- matchPods
PodInfo[] matchPods(Str pattern, MatchKind kind := MatchKind.startsWith)
Match pods
- matchSlots
SlotInfo[] matchSlots(Str pattern, MatchKind kind := MatchKind.startsWith, Bool methodsOnly := true)
Match slots
- matchTags
TagInfo[] matchTags(Str pattern, MatchKind kind := MatchKind.startsWith)
Match tags
- matchTypes
TypeInfo[] matchTypes(Str pattern, MatchKind kind := MatchKind.startsWith)
Match types
- pod
PodInfo? pod(Str name, Bool checked := true)
Find given pod
- podForFile
PodInfo? podForFile(File file)
Find given pod
- pods
PodInfo[] pods()
List all pods found
- podsIndexed
const AtomicBool podsIndexed := AtomicBool.<ctor>()
Whether we have done the initial pod indexing
- reindex
Void reindex(File[] srcDirs, File[] podDirs, Bool clearIndex := false)
Reindex given sources / pods
- reindexPod
Rebuild index for given pod, if null no-op
- trioInfo