---
title: "populate(bytes:)"
framework: fskit
role: symbol
role_heading: Instance Method
path: "fskit/fsfreespace/populate(bytes:)"
---

# populate(bytes:)

Populates this instance with the given free space value and atomically assigns a sequence number.

## Declaration

```swift
func populate(bytes freeSpaceBytes: UInt64)
```

## Discussion

Discussion important: FSKit uses internal sequencing technology within this method to determine the most up-to-date free space of the volume. To ensure correctness, call this method within an isolation context covering the volume’s free space.
