# FileBatch

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-hot-reload/struct-filebatch/

**struct** · [`ferroui-hot-reload`](/docs/0.5.0/api/ferroui-hot-reload/) · v0.5.0

```rust
struct FileBatch
```

One stable read of the entire watched set. Includes unchanged documents so a
failed/missing dependency can recover without losing edits observed beside it.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.HotReload/watcher.rs#L21)

## Members

- [`files`](#struct_field-files)
- [`diagnostics`](#struct_field-diagnostics)
- [`revision`](#struct_field-revision)

<a id="struct_field-files"></a>

### files

```rust
files: Vec<FileChange>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.HotReload/watcher.rs#L22)

<a id="struct_field-diagnostics"></a>

### diagnostics

```rust
diagnostics: Vec<String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.HotReload/watcher.rs#L23)

<a id="struct_field-revision"></a>

### revision

```rust
revision: Option<WatchRevision>
```

The watcher invalidates this as soon as a different read is observed,
including an unstable/partial save which has not passed debounce yet.
Editor-owned snapshots without a watcher can use `None`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.HotReload/watcher.rs#L27)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Debug`

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
