The base name of the file (file name without path) The base name is readonly
The unique id of the file.
The timestamp of the last file change readonly
The mime type (content type) of the file
The name of the file including the path The name is readonly
The file size in bytes readonly
add comment to file
the comment
adds a tag name to the file
name of the tag
deletes a file
get list of comments of file
number of comments to return
the offset
array of comment strings
the buffer of the file content
get folder of the file
the parent folder
get tag names
array of tag names
the url of the file in the UI
the url of the file
moves or renames the current file to the new location target folder must exists
the name of the target file /f1/f2/myfile.txt
removes a tag of the file
the name of the tag
Generated using TypeDoc
The file class represents a file in nextcloud. It exposes file properties and content handling, commenting and tagging