Provides a access to the Zimki file store.
var files = zimki.file.search(); // get a list of all files
file = files[0]; // get the first file
file.description = "another file"; // set a new description
file.save(); // and save the changes
file.publish('/foo.txt'); // publish the file to this path
file.unpublish(); // remove all publications
file.delete_file(); // delete file
var newFile = zimki.file.create("initial contents"); // create a new file
Parent
zimki
Methods
|