---
title: FSPreallocateResult
framework: fskit
role: symbol
role_heading: Class
path: fskit/fspreallocateresult
---

# FSPreallocateResult

The result of a preallocate call.

## Declaration

```swift
class FSPreallocateResult
```

## Overview

Overview Use this type in your implementation of  preallocateSpace(for:at:length:flags:context:replyHandler:)

## Topics

### Creating a preallocate result

- [init(bytesAllocated:itemAttributes:freeSpace:)](fskit/fspreallocateresult/init(bytesallocated:itemattributes:freespace:).md)
- [FSItem.Attributes](fskit/fsitem/attributes.md)
- [FSFreeSpace](fskit/fsfreespace.md)

## Relationships

### Inherits From

- [FSVolumeHandlerResult](fskit/fsvolumehandlerresult.md)

### Inherited By

- [FSPreallocateKOIOResult](fskit/fspreallocatekoioresult.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Preallocating space

- [preallocateSpace(for:at:length:flags:context:replyHandler:)](fskit/fsvolume/preallocatehandler/preallocatespace(for:at:length:flags:context:replyhandler:).md)
- [FSVolume.PreallocateFlags](fskit/fsvolume/preallocateflags.md)
