INTERNAL USE ONLY

Simple file module

Functions

baseNameOf

baseNameOf(String): String

Returns the base name of this file

contentOf

contentOf(String): String

Returns the content of the specified file

extensionOf

extensionOf(String): String | Null

fileTypeOf

fileTypeOf(String): String

Returns the file type. FileType or DirType

ls

ls(String): Array<String>

Return the list of child elements of the specified path.

ls(String, String): Array<String>

Return the list of child elements of the specified path. That matches the specified regex pattern

mimeTypeOf

mimeTypeOf(String): String | Null

Returns the infered mimeType of the specified file if not returns null

nameOf

nameOf(String): String

Returns the name of this file

path

path(String, String): String

Creates a valid path from this two parts