---
title: stat
framework: endpointsecurity
role: symbol
role_heading: Instance Property
path: endpointsecurity/es_file_t/stat
---

# stat

The file’s metadata, such as file size, user and group identifiers, and access and modification dates.

## Declaration

```swift
var stat: stat
```

## Discussion

Discussion The returned structure’s information is equivalent to that returned by the stat(2) system call.

## See Also

### Inspecting File Properties

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