Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 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 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 | 4x 22x 22x 4x 8x 8x 4x 71x 4x 14x 14x 4x 14x 14x 4x 14x 14x 4x 14x 14x 4x 14x 14x 4x 14x 14x 4x 14x 14x 14x 14x 14x 14x 4x 2x 2x 4x 33x 33x 4x 4x 4x 8x 8x 4x 4x 4x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 4x 4x 4x 8x 8x 8x 4x 4x 4x 4x 4x 4x 4x 4x 2x 2x 4x | import type {Nfsv3FType, Nfsv3TimeHow, Nfsv3StableHow, Nfsv3CreateMode} from './constants';
/**
* NFSv3 time structure (seconds and nanoseconds since epoch)
*/
export class Nfsv3Time {
constructor(
public readonly seconds: number,
public readonly nseconds: number,
) {}
}
/**
* Special device file data (major/minor device numbers)
*/
export class Nfsv3SpecData {
constructor(
public readonly specdata1: number,
public readonly specdata2: number,
) {}
}
/**
* NFSv3 file handle
*/
export class Nfsv3Fh {
constructor(public readonly data: Uint8Array) {}
}
/**
* Set mode discriminated union
*/
export class Nfsv3SetMode {
constructor(
public readonly set: boolean,
public readonly mode?: number,
) {}
}
/**
* Set uid discriminated union
*/
export class Nfsv3SetUid {
constructor(
public readonly set: boolean,
public readonly uid?: number,
) {}
}
/**
* Set gid discriminated union
*/
export class Nfsv3SetGid {
constructor(
public readonly set: boolean,
public readonly gid?: number,
) {}
}
/**
* Set size discriminated union
*/
export class Nfsv3SetSize {
constructor(
public readonly set: boolean,
public readonly size?: bigint,
) {}
}
/**
* Set atime discriminated union
*/
export class Nfsv3SetAtime {
constructor(
public readonly how: Nfsv3TimeHow,
public readonly atime?: Nfsv3Time,
) {}
}
/**
* Set mtime discriminated union
*/
export class Nfsv3SetMtime {
constructor(
public readonly how: Nfsv3TimeHow,
public readonly mtime?: Nfsv3Time,
) {}
}
/**
* Settable file attributes
*/
export class Nfsv3Sattr {
constructor(
public readonly mode: Nfsv3SetMode,
public readonly uid: Nfsv3SetUid,
public readonly gid: Nfsv3SetGid,
public readonly size: Nfsv3SetSize,
public readonly atime: Nfsv3SetAtime,
public readonly mtime: Nfsv3SetMtime,
) {}
}
/**
* Guard for SETATTR operation
*/
export class Nfsv3SattrGuard {
constructor(
public readonly check: boolean,
public readonly objCtime?: Nfsv3Time,
) {}
}
/**
* Directory operation arguments (file handle + name)
*/
export class Nfsv3DirOpArgs {
constructor(
public readonly dir: Nfsv3Fh,
public readonly name: string,
) {}
}
/**
* Weak cache consistency attributes subset
*/
export class Nfsv3WccAttr {
constructor(
public readonly size: bigint,
public readonly mtime: Nfsv3Time,
public readonly ctime: Nfsv3Time,
) {}
}
/**
* Pre-operation attributes
*/
export class Nfsv3PreOpAttr {
constructor(
public readonly attributesFollow: boolean,
public readonly attributes?: Nfsv3WccAttr,
) {}
}
/**
* Post-operation attributes
*/
export class Nfsv3PostOpAttr {
constructor(
public readonly attributesFollow: boolean,
public readonly attributes?: Nfsv3Fattr,
) {}
}
/**
* Post-operation file handle
*/
export class Nfsv3PostOpFh {
constructor(
public readonly handleFollows: boolean,
public readonly handle?: Nfsv3Fh,
) {}
}
/**
* Weak cache consistency data
*/
export class Nfsv3WccData {
constructor(
public readonly before: Nfsv3PreOpAttr,
public readonly after: Nfsv3PostOpAttr,
) {}
}
/**
* File attributes structure
*/
export class Nfsv3Fattr {
constructor(
public readonly type: Nfsv3FType,
public readonly mode: number,
public readonly nlink: number,
public readonly uid: number,
public readonly gid: number,
public readonly size: bigint,
public readonly used: bigint,
public readonly rdev: Nfsv3SpecData,
public readonly fsid: bigint,
public readonly fileid: bigint,
public readonly atime: Nfsv3Time,
public readonly mtime: Nfsv3Time,
public readonly ctime: Nfsv3Time,
) {}
}
/**
* Device file specification for MKNOD
*/
export class Nfsv3DeviceData {
constructor(
public readonly devAttributes: Nfsv3Sattr,
public readonly spec: Nfsv3SpecData,
) {}
}
/**
* MKNOD data discriminated union
*/
export class Nfsv3MknodData {
constructor(
public readonly type: Nfsv3FType,
public readonly chr?: Nfsv3DeviceData,
public readonly blk?: Nfsv3DeviceData,
public readonly sock?: Nfsv3Sattr,
public readonly pipe?: Nfsv3Sattr,
) {}
}
/**
* How to create file for CREATE operation
*/
export class Nfsv3CreateHow {
constructor(
public readonly mode: Nfsv3CreateMode,
public readonly objAttributes?: Nfsv3Sattr,
public readonly verf?: Uint8Array,
) {}
}
/**
* Stable storage guarantee for WRITE
*/
export class Nfsv3WriteHow {
constructor(public readonly stable: Nfsv3StableHow) {}
}
/**
* Directory entry for READDIR
*/
export class Nfsv3Entry {
constructor(
public readonly fileid: bigint,
public readonly name: string,
public readonly cookie: bigint,
public readonly nextentry?: Nfsv3Entry,
) {}
}
/**
* Directory entry for READDIRPLUS
*/
export class Nfsv3EntryPlus {
constructor(
public readonly fileid: bigint,
public readonly name: string,
public readonly cookie: bigint,
public readonly nameAttributes: Nfsv3PostOpAttr,
public readonly nameHandle: Nfsv3PostOpFh,
public readonly nextentry?: Nfsv3EntryPlus,
) {}
}
/**
* Directory list for READDIR
*/
export class Nfsv3DirList {
constructor(
public readonly eof: boolean,
public readonly entries?: Nfsv3Entry,
) {}
}
/**
* Directory list for READDIRPLUS
*/
export class Nfsv3DirListPlus {
constructor(
public readonly eof: boolean,
public readonly entries?: Nfsv3EntryPlus,
) {}
}
|