Builder
# VFS: File
Describes a single `File`-type entry within a given `TreeEntry`, within a virtual file system managed by Elide. File
entries describe file metadata only; raw file data is enclosed in a compressed blob stored alongside filesystem
metadata.
See individual properties for more information. `File` objects can only be held by `TreeEntry` objects. `Directory`
objects refer to their child `TreeEntry` constituents.
Content copied to clipboard
elide.vfs.File
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Compressed size of the file, in bytes. If `size` and `compressed` are equal, the file is not compressed.
Content copied to clipboard
uint64 compressed = 3;
Link copied to clipboard
Describes the encoding of the file.
Content copied to clipboard
.elide.data.Encoding encoding = 6;
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Fingerprints of compressed and regular file representations, as applicable.
Content copied to clipboard
.elide.vfs.File.FileFingerprint fingerprint = 10;
Link copied to clipboard
Specifies a known MIME type for this file, from the [KnownMimeType] enumeration.
Content copied to clipboard
.elide.vfs.KnownMimeType known = 8;
Link copied to clipboard
Specifies a string for a mime-type. This is only used if the mime-type is not known to the VM implementation.
Content copied to clipboard
string mime = 9;
Link copied to clipboard
Describes the last time this file was modified. This value is only available in circumstances where the VFS is
running with change tracking enabled (namely, during development). In production, this value will be set to a
consistent timestamp for all assets.
Content copied to clipboard
.google.protobuf.Timestamp modified = 7;
Link copied to clipboard
Name of the file.
Content copied to clipboard
string name = 1;
Link copied to clipboard
Offset at which the file begins within the compressed filesystem blob.
Content copied to clipboard
uint64 offset = 4;
Link copied to clipboard
Link copied to clipboard
Uncompressed size of the file, in bytes.
Content copied to clipboard
uint64 size = 2;
Link copied to clipboard
Offset at which the file ends within the compressed filesystem blob.
Content copied to clipboard
uint64 tail = 5;
Link copied to clipboard
Extended attributes for this file.
Content copied to clipboard
map<string, string> attributes = 11;
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Use getAttributesMap instead.
Link copied to clipboard
Extended attributes for this file.
Content copied to clipboard
map<string, string> attributes = 11;
Link copied to clipboard
Extended attributes for this file.
Content copied to clipboard
map<string, string> attributes = 11;
Link copied to clipboard
Extended attributes for this file.
Content copied to clipboard
map<string, string> attributes = 11;
Link copied to clipboard
Extended attributes for this file.
Content copied to clipboard
map<string, string> attributes = 11;
Link copied to clipboard
Compressed size of the file, in bytes. If `size` and `compressed` are equal, the file is not compressed.
Content copied to clipboard
uint64 compressed = 3;
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Describes the encoding of the file.
Content copied to clipboard
.elide.data.Encoding encoding = 6;
Link copied to clipboard
Describes the encoding of the file.
Content copied to clipboard
.elide.data.Encoding encoding = 6;
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Fingerprints of compressed and regular file representations, as applicable.
Content copied to clipboard
.elide.vfs.File.FileFingerprint fingerprint = 10;
Link copied to clipboard
Fingerprints of compressed and regular file representations, as applicable.
Content copied to clipboard
.elide.vfs.File.FileFingerprint fingerprint = 10;
Link copied to clipboard
Fingerprints of compressed and regular file representations, as applicable.
Content copied to clipboard
.elide.vfs.File.FileFingerprint fingerprint = 10;
Link copied to clipboard
Link copied to clipboard
Specifies a known MIME type for this file, from the [KnownMimeType] enumeration.
Content copied to clipboard
.elide.vfs.KnownMimeType known = 8;
Link copied to clipboard
Specifies a known MIME type for this file, from the [KnownMimeType] enumeration.
Content copied to clipboard
.elide.vfs.KnownMimeType known = 8;
Link copied to clipboard
Specifies a string for a mime-type. This is only used if the mime-type is not known to the VM implementation.
Content copied to clipboard
string mime = 9;
Link copied to clipboard
Describes the last time this file was modified. This value is only available in circumstances where the VFS is
running with change tracking enabled (namely, during development). In production, this value will be set to a
consistent timestamp for all assets.
Content copied to clipboard
.google.protobuf.Timestamp modified = 7;
Link copied to clipboard
Describes the last time this file was modified. This value is only available in circumstances where the VFS is
running with change tracking enabled (namely, during development). In production, this value will be set to a
consistent timestamp for all assets.
Content copied to clipboard
.google.protobuf.Timestamp modified = 7;
Link copied to clipboard
Describes the last time this file was modified. This value is only available in circumstances where the VFS is
running with change tracking enabled (namely, during development). In production, this value will be set to a
consistent timestamp for all assets.
Content copied to clipboard
.google.protobuf.Timestamp modified = 7;
Link copied to clipboard
Use alternate mutation accessors instead.
Link copied to clipboard
Name of the file.
Content copied to clipboard
string name = 1;
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Fingerprints of compressed and regular file representations, as applicable.
Content copied to clipboard
.elide.vfs.File.FileFingerprint fingerprint = 10;
Link copied to clipboard
Describes the last time this file was modified. This value is only available in circumstances where the VFS is
running with change tracking enabled (namely, during development). In production, this value will be set to a
consistent timestamp for all assets.
Content copied to clipboard
.google.protobuf.Timestamp modified = 7;
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Fingerprints of compressed and regular file representations, as applicable.
Content copied to clipboard
.elide.vfs.File.FileFingerprint fingerprint = 10;
Link copied to clipboard
Link copied to clipboard
Describes the last time this file was modified. This value is only available in circumstances where the VFS is
running with change tracking enabled (namely, during development). In production, this value will be set to a
consistent timestamp for all assets.
Content copied to clipboard
.google.protobuf.Timestamp modified = 7;
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Extended attributes for this file.
Content copied to clipboard
map<string, string> attributes = 11;
Link copied to clipboard
Extended attributes for this file.
Content copied to clipboard
map<string, string> attributes = 11;
Link copied to clipboard
Extended attributes for this file.
Content copied to clipboard
map<string, string> attributes = 11;
Link copied to clipboard
Compressed size of the file, in bytes. If `size` and `compressed` are equal, the file is not compressed.
Content copied to clipboard
uint64 compressed = 3;
Link copied to clipboard
Describes the encoding of the file.
Content copied to clipboard
.elide.data.Encoding encoding = 6;
Link copied to clipboard
Describes the encoding of the file.
Content copied to clipboard
.elide.data.Encoding encoding = 6;
Link copied to clipboard
Fingerprints of compressed and regular file representations, as applicable.
Content copied to clipboard
.elide.vfs.File.FileFingerprint fingerprint = 10;
Link copied to clipboard
Specifies a known MIME type for this file, from the [KnownMimeType] enumeration.
Content copied to clipboard
.elide.vfs.KnownMimeType known = 8;
Link copied to clipboard
Specifies a known MIME type for this file, from the [KnownMimeType] enumeration.
Content copied to clipboard
.elide.vfs.KnownMimeType known = 8;
Link copied to clipboard
Specifies a string for a mime-type. This is only used if the mime-type is not known to the VM implementation.
Content copied to clipboard
string mime = 9;
Link copied to clipboard
Specifies a string for a mime-type. This is only used if the mime-type is not known to the VM implementation.
Content copied to clipboard
string mime = 9;
Link copied to clipboard
Describes the last time this file was modified. This value is only available in circumstances where the VFS is
running with change tracking enabled (namely, during development). In production, this value will be set to a
consistent timestamp for all assets.
Content copied to clipboard
.google.protobuf.Timestamp modified = 7;
Link copied to clipboard
Name of the file.
Content copied to clipboard
string name = 1;
Link copied to clipboard
Name of the file.
Content copied to clipboard
string name = 1;
Link copied to clipboard
Offset at which the file begins within the compressed filesystem blob.
Content copied to clipboard
uint64 offset = 4;
Link copied to clipboard
abstract fun setRepeatedField(field: Descriptors.FieldDescriptor, index: Int, value: Any): Message.Builder
Link copied to clipboard
Uncompressed size of the file, in bytes.
Content copied to clipboard
uint64 size = 2;
Link copied to clipboard
Offset at which the file ends within the compressed filesystem blob.
Content copied to clipboard
uint64 tail = 5;
Link copied to clipboard