| Qore FileDataProvider Module Reference 1.0

FileStatResponseDataType.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
2
25 namespace FileDataProvider {
27 class FileStatResponseDataType : public HashDataType {
28
29 public:
31 const FieldDescriptions = {
32 "dev": "The device inode number the file is on",
33 "inode": "The inode of the file",
34 "mode": "The file protection mode; a bitfield of file permissions",
35 "nlink": "The number of hard links to this file",
36 "uid": "The UID of the owner of the file",
37 "gid": "The GID of the owner of the file",
38 "rdev": "The device type number",
39 "size": "The size of the file in bytes",
40 "atime": "The last accessed date/time of the file",
41 "mtime": "The last modified date/time of the file",
42 "ctime": "The created date/time of the file",
43 "blksize": "Block size; is zero if the file is zero length or if the platform's internal `stat()` (2) "
44 "function does not provide this info",
45 "blocks": "Blocks allocated for the file; is zero if the file is zero length or if the platform's "
46 "internal `stat()` (2) function does not provide this info",
47 "type": "The type of file; one of:\n- `REGULAR`\n- `DIRECTORY`\n- `SYMBOLIC-LINK`\n"
48 "- `BLOCK-DEVICE`\n- `CHARACTER-DEVICE`\n- `FIFO`\n- `SYMBOLIC-LINK`\n- `SOCKET`\n"
49 "- `UNKNOWN`",
50 "perm": "A string giving UNIX-style permissions for the file (ex: `-rwxr-xr-x`)",
51 "name": "The name of the file, link, or directory",
52 "filepath": "The full filepath",
53 };
54
56 constructor();
57
58 };
59 };
FileDataProvider::FileStatResponseDataType
Data type for stat file response calls.
Definition: FileStatResponseDataType.qc.dox.h:27
FileDataProvider::FileStatResponseDataType::constructor
constructor()
Creates the type.
FileDataProvider::FileStatResponseDataType::FieldDescriptions
const FieldDescriptions
Markdown descriptions for struct members.
Definition: FileStatResponseDataType.qc.dox.h:31
FileDataProvider
Qore FileDataProvider module definition.
Definition: FileCopyDataProvider.qc.dox.h:26