<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "Dispatch",
  "identifier" : "/documentation/Dispatch/DispatchSource/FileSystemEvent",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Dispatch"
    ],
    "preciseIdentifier" : "s:So18OS_dispatch_sourceC8DispatchE15FileSystemEventV"
  },
  "title" : "DispatchSource.FileSystemEvent"
}
-->

# DispatchSource.FileSystemEvent

Events involving a change to a file system object.

```
struct FileSystemEvent
```

## Topics

### File System Event Flags

[`all`](/documentation/Dispatch/DispatchSource/FileSystemEvent/all)

All changes related to the file system object.

[`attrib`](/documentation/Dispatch/DispatchSource/FileSystemEvent/attrib)

Changes to the metadata of the file system object.

[`delete`](/documentation/Dispatch/DispatchSource/FileSystemEvent/delete)

The deletion of the file system object.

[`extend`](/documentation/Dispatch/DispatchSource/FileSystemEvent/extend)

Changes to the size of the file system object.

[`funlock`](/documentation/Dispatch/DispatchSource/FileSystemEvent/funlock)

The unlocking of the file system object.

[`link`](/documentation/Dispatch/DispatchSource/FileSystemEvent/link)

Changes to the link count of the file system object.

[`rename`](/documentation/Dispatch/DispatchSource/FileSystemEvent/rename)

Changes to the name of the file system object.

[`revoke`](/documentation/Dispatch/DispatchSource/FileSystemEvent/revoke)

The revocation of the file system object.

[`write`](/documentation/Dispatch/DispatchSource/FileSystemEvent/write)

The writing of data to the file system object.

### Initializing the Type

### Expressing the Type

### Managing the Type

### Comparing the Type



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)
