SubpathStrategy
enum SubpathStrategy
extension StorageListRequest.Options.SubpathStrategy: Sendable
Represents the strategy used when listing contents from subpaths relative to the given path.
- Tag: StorageListRequestOptions.SubpathStrategy
-
Items from nested subpaths are included in the results
- Tag: SubpathStrategy.include
Declaration
Swift
case include -
Items from nested subpaths are not included in the results. Their subpaths are instead grouped under
StorageListResult.excludedSubpaths.Tag: SubpathStrategy.excludeWithDelimiter
Declaration
Swift
case exclude(delimitedBy: String = "/")Parameters
delimitedByThe delimiter used to determine subpaths. Defaults to
"/" -
Items from nested subpaths are not included in the results. Their subpaths are instead grouped under
StorageListResult.excludedSubpaths.Tag: SubpathStrategy.exclude
Declaration
Swift
public static var exclude: SubpathStrategy { get }
View on GitHub