---
title: "startCheck(task:options:)"
framework: fskit
role: symbol
role_heading: Instance Method
path: "fskit/fsmanageableresourcemaintenanceoperations/startcheck(task:options:)"
---

# startCheck(task:options:)

Starts checking the file system with the given options.

## Declaration

```swift
func startCheck(task: FSTask, options: FSTaskOptions) throws -> Progress
```

## Parameters

- `task`: A task object you use to communicate back to the client.
- `options`: Options for performing the check.

## Return Value

Return Value An Progress object that you use to update progress as the check operation progresses. Return nil if starting the file system check encountered an error.
