---
title: "FSEventStreamCopyPathsBeingWatched(_:)"
framework: Core Services
role: symbol
role_heading: Function
platforms: [Mac Catalyst 13.1+, macOS 10.5+]
path: coreservices/1447917-fseventstreamcopypathsbeingwatch
---

# FSEventStreamCopyPathsBeingWatched(_:)

## Declaration

```swift
func FSEventStreamCopyPathsBeingWatched(_ streamRef: ConstFSEventStreamRef) -> CFArray
```

## Parameters

- `streamRef`: A valid stream.

## Return Value

Return Value A CFArray of CFStringRefs corresponding to those supplied when the stream was created. Ownership follows the Copy rule.

## Discussion

Discussion Fetches the paths supplied when the stream was created via one of the FSEventStreamCreate...() functions.
