source_dirStringtarget_dirStringsuccess_callbackFunction()error_callbackFunction(err)
Moves source_dir to target_dir.
greenworks.Utils.createArchive(zip_file_path, source_dir, password, compress_level, success_callback, [error_callback])
zip_file_pathStringsource_dirStringpasswordString: Empty represents no passwordcompress_levelInteger: Compress factor 0-9, store only - best compressed.success_callbackFunction()error_callbackFunction(err)
Creates a zip archive of source_dir.
greenworks.Utils.extractArchive(zip_file_path, extract_dir, password, success_callback, [error_callback])
zip_file_pathStringextract_dirStringpasswordString: Empty represents no passwordsuccess_callbackFunction()error_callbackFunction(err)
Extracts the zip_file_path to the specified extract_dir.