---
title: es_file_t
framework: endpointsecurity
role: symbol
role_heading: Structure
path: endpointsecurity/es_file_t
---

# es_file_t

A type that represents a file related to an Endpoint Security event.

## Declaration

```swift
struct es_file_t
```

## Topics

### Inspecting File Properties

- [path](endpointsecurity/es_file_t/path.md)
- [path_truncated](endpointsecurity/es_file_t/path_truncated.md)
- [stat](endpointsecurity/es_file_t/stat.md)

### Initializers

- [init()](endpointsecurity/es_file_t/init().md)
- [init(path:path_truncated:stat:)](endpointsecurity/es_file_t/init(path:path_truncated:stat:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)

## See Also

### File-System Event Types

- [es_event_access_t](endpointsecurity/es_event_access_t.md)
- [es_event_clone_t](endpointsecurity/es_event_clone_t.md)
- [es_event_copyfile_t](endpointsecurity/es_event_copyfile_t.md)
- [es_event_create_t](endpointsecurity/es_event_create_t.md)
- [es_event_dup_t](endpointsecurity/es_event_dup_t.md)
- [es_event_fcntl_t](endpointsecurity/es_event_fcntl_t.md)
- [es_event_open_t](endpointsecurity/es_event_open_t.md)
- [es_event_close_t](endpointsecurity/es_event_close_t.md)
- [es_event_rename_t](endpointsecurity/es_event_rename_t.md)
- [es_event_truncate_t](endpointsecurity/es_event_truncate_t.md)
- [es_event_exchangedata_t](endpointsecurity/es_event_exchangedata_t.md)
- [es_event_write_t](endpointsecurity/es_event_write_t.md)
- [es_event_lookup_t](endpointsecurity/es_event_lookup_t.md)
- [es_event_searchfs_t](endpointsecurity/es_event_searchfs_t.md)
