Wikicr::FileTree
Inherits Reference / Object
A FileTree is a tree structure representing a file with a name and subfiles.
It is used to map the wiki for the "sitemap" feature.
TODO: it should be fully replaced by the index
Constructors
build(to_scan : String, max_depth : Int = 32) : FileTree
Build a FileTree that represents the real structure of the "to_scan" It is recursive and may be very time consuming, so there is a limit of depth
FileTree.build("./data/")
Instance methods
files
Sourcename
Source