Task #33576
List and describe all available file properties
| Status: | New | Start date: | 2012-02-01 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | Documentation | |||
| Target version: | 6.0 final | |||
| Votes: | 0 |
Description
The properties of a file, as gathered by the driver in getFileInfoByIdentifier(), should be listed and described in the documentation. This description should include if a property is required or optional, the allowed (range of) values and the default value to use if a storage does not support a specific property.
History
Updated by Andreas Wolf over 1 year ago
The properties currently used by the driver are (short name in brackets):
- storage
- identifier
- name
- creation date (ctime)
- modification date (mtime)
- access time (atime) -> this should be removed as it is pretty useless on a driver level
- mime type (mimetype)
- file size (size)
Updated by Andreas Wolf over 1 year ago
We should also define a minimum subset of properties that have to be returned in every case. I would suggest these:
- storage
- identifier
- name
- creation date
- modification date
- file size
These enable us to detect if a file has been changed so we can trigger index updates if necessary (see #33441).
Updated by Benjamin Mack over 1 year ago
- Target version set to 6.0 final