Placeholder stores VFS file protocol patterns and its attached file handle class.
Cat all files to a single out-put
list of VFS files
input data string that will be cat to the files content
join on files content by this string
{Promise
Copy files to a folder
list of files
destination folder
{Promise<any[]>}
zip file to extract
{Promise
Looking for a attached file handle class of a string protocol
When converting a string to file handle, the system will look for a protocol pattern in the string, if the protocol found, its attached handle class (found in VFS.handles) will be used to initialize a file handle object from the string
"home://data/test.txt".asFileHandle() // -> an instance of RemoteFileHandle
protocol string
Create a zip archive from a folder
source file/folder
destination archive
{Promise
Create a list of directories
of directories to be created
sync/async of directory creation
{Promise
Make files from a set of template files
mapping paths between templates files and created files
files destination
{Promise<any[]>}
Read a file content from a zip archive
The content type should be:
zip file
content type to read
{Promise
Read all files content on the list
list of VFS files
Register a protocol to a handle class
VFS protocol pattern
handle class
This namespace is dedicated to all APIs related to AntOS Virtual File System (VFS)