|
APIs in Category: file |
API version 1.1 |
file-create-symlink |
| file-create-symlink | [top] |
Create a symlink.
Input Name Range Type Description path string
Path of the symlink file to create. The value is expected to begin with /vol/ . symlink string
Value of the symlink.
| file-delete-directory | [top] |
Delete a directory.
Input Name Range Type Description path string
Path of the directory to delete. The value is expected to begin with /vol/ . The directory must be empty in order for this API to succeed.
| file-delete-file | [top] |
Delete a file.
Input Name Range Type Description path string
Path of the file or symlink to delete. The value is expected to begin with /vol/ .
| file-get-space-reservation-info | [top] |
Queries the space reservation settings for the named file.
Input Name Range Type Description path string
File to be queried. Output Name Range Type Description is-fill-enabled boolean
Whether or not the file is set with fill. is-overwrite-enabled boolean
Whether or not the file is set with overwrite.
Errno Description EFILENOTFOUND EINTERNALERROR
| file-read-symlink | [top] |
Read the contents of a symlink.
Input Name Range Type Description path string
Path of the symlink file to read. The value is expected to begin with /vol/ . Output Name Range Type Description symlink string
Value of the symlink. In other words, this is the destination path contained in the symlink.
| file-set-space-reservation-info | [top] |
Sets the space reservation settings for the named file.
Input Name Range Type Description is-fill-enabled string
optional
Whether or not to set the file with fill. is-overwrite-enabled boolean
optional
Whether or not to set the file with overwrite. path string
File to be queried.
Errno Description EFILENOTFOUND EINTERNALERROR EINVALIDINPUTERROR ESETSPCRESERROR ENOSPC EROFS EISVDISK