- Kind: Library Files Procedures SQL Files Content Pages
- Publicity: Public Only All
fs::add_created_file Create a new file storage item or add a new revision if an item with the same name and parent folder already exists DEPRECATED: this proc was superseded by fs::add_file fs::add_created_version Create a new version of a file storage item using the content passed in content_body DEPRECATED: this proc has been superseded by fs::add_version fs::add_file Create a new file storage item or add a new revision if an item with the same name and parent folder already exists fs::add_version Create a new version of a file storage item. fs::delete_file Deletes a file and all its revisions. fs::delete_folder Deletes a folder and all contents. fs::delete_version Deletes a revision. fs::do_notifications Send notifications for file-storage operations. fs::file_copy copy file to target folder fs::folder_p Is this object a folder? fs::get_archive_command return the archive command after replacing {in_file} and {out_file} with their respective values. fs::get_archive_extension return the archive extension that should be added to the output file of an archive command DEPRECATED: this is a trivial wrapper over the parameter api fs::get_file_package_id Returns the package_id for a passed-in file_id. fs::get_file_system_safe_object_name get the name of a file storage object and make it safe for writing to the filesystem fs::get_folder Retrieve the folder_id of a folder given its name and parent folder. fs::get_folder_contents WARNING: This proc is not scalable because it does too many permission checks. fs::get_folder_contents_count Retrieve the count of contents of the specified folder. fs::get_folder_objects Return a list the object_ids contained by a file storage folder. fs::get_folder_package_and_root Returns a two-element Tcl list containing the package_id and root_folder_id for the passed-in folder_id. fs::get_item_id Get the item_id of a file fs::get_object_info Returns an array containing the fs object info. fs::get_object_name Select the name of this object. fs::get_object_prettyname Select a pretty name for this object. fs::get_parent Get the parent of a given item. fs::get_root_folder Get the root folder of a package instance. fs::item_editable_info Returns an array containing elements editable_p, mime_type, file_extension if an fs item is editable through the browser, editable_p is set to 1 DEPRECATED: it is unclear what editable is supposed to mean. fs::item_editable_p returns 1 if item is editable via browser DEPRECATED: it is unclear what editable is supposed to mean. fs::max_upload_size fs::new_folder Create a new folder. fs::new_root_folder Create a root folder for a package instance. fs::object_p is this a file storage object fs::publish_folder_to_file_system publish the contents of a file storage folder to the filesystem fs::publish_object_to_file_system publish a file storage object to the filesystem fs::publish_url_to_file_system publish a URL object to the filesystem as a Windows shortcut (which at least KDE also knows how to handle) fs::publish_versioned_object_to_file_system publish an object to the filesystem fs::remove_special_file_system_characters Remove unsafe filesystem characters. fs::rename_folder rename the given folder fs::set_folder_description sets the description for the given folder in cr_folders. fs::torrent::get_hashsum Get hashsum for the file using SHA1 hashsum technique. fs::webdav_url Provide URL for webdav access to file or folder fs_context_bar_list Constructs the list to be fed to ad_context_bar appropriate for item_id. fs_file_p Returns 1 if the file_id corresponds to a file in the file-storage system. fs_folder_p Returns 1 if the folder_id corresponds to a folder in the file-storage system. fs_get_folder_name Returns the name of a folder. fs_get_root_folder Returns the root folder for the file storage system. fs_version_p Returns 1 if the version_id corresponds to a version in the file-storage system.