Interface FileHostsince 4.0.1
Properties
Checks if the provided path exists.
Creates a file with the name fileName
, which is located inside folderName
, which gets created if
it doesn't already exist. The folder
is located in the basePath
.
Returns
ThebasePath
+ folderName
.copyFolder: (origin: string, destination: string) => void
Copies an entire folder and everything inside it, including contents of sub-folders.
Creates a folder only if it doesn't already exists.
Returns
Thepath
+ name
getDocumentStructure: (name: string) => DocumentStructuretype DocumentStructurets-docs/documentStructure/DocumentStructure | false
Returns
The documentation structure object, orfalse
to let ts-docs find it on it's own. Keep in mind
it won't use the methods provided by the file host.