pub struct File {
pub contents: Option<String>,
pub disk_path: Option<DiskPath>,
pub hashed_size: Option<i64>,
pub operations: Option<Vec<FileOperation>>,
pub partially_hashed: Option<bool>,
pub path: Option<String>,
pub sha256: Option<String>,
pub size: Option<i64>,
}Expand description
File information about the related binary/library used by an executable, or the script used by a script interpreter
This type is not used in any activity, and only used as part of another schema.
Fields§
§contents: Option<String>Prefix of the file contents as a JSON-encoded string.
disk_path: Option<DiskPath>Path of the file in terms of underlying disk/partition identifiers.
hashed_size: Option<i64>The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
operations: Option<Vec<FileOperation>>Operation(s) performed on a file.
partially_hashed: Option<bool>True when the hash covers only a prefix of the file.
path: Option<String>Absolute path of the file as a JSON encoded string.
sha256: Option<String>SHA256 hash of the first hashed_size bytes of the file encoded as a hex string. If hashed_size == size, sha256 represents the SHA256 hash of the entire file.
size: Option<i64>Size of the file in bytes.