blob: 53f913d5d6b3678f86a4be22f0e7ee78dce42a5d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/**
* File attributes. The `type` and `dev` attributes are ignored since they are for kernel use only.
*
* @param fid The FID sent the T-stat message.
* @param qid The QID of the file.
* @param mode Permissions and flags.
* @param atime Last acces time.
* @param mtime Last modification time.
* @param length The length of the file in bytes.
* @param name The file name, which is `/` if the file is the root directory.
* @param uid The owner's name.
* @param gid The group's name.
* @param muid The name of the user who last modified the file.
*/
data class Stat(
val fid: UInt,
val qid: QID,
val mode: FileMode,
val atime: UInt,
val mtime: UInt,
val length: ULong,
val name: String,
val uid: String,
val gid: String,
val muid: String
)
|