- Preparing search index...
- The search index is not available
ODD SDK
- withPartition<P>(partition: P, path: DirectoryPath<[string, ...string[]]>): DirectoryPath<PartitionedNonEmpty<P>>
-
- withPartition<P>(partition: P, path: DirectoryPath<Segments>): DirectoryPath<Partitioned<P>>
-
- withPartition<P>(partition: P, path: FilePath<[string, ...string[]]>): FilePath<PartitionedNonEmpty<P>>
-
Parameters
-
partition: P
-
path: FilePath<[string, ...string[]]>
- withPartition<P>(partition: P, path: FilePath<Segments>): FilePath<Partitioned<P>>
-
- withPartition<P>(partition: P, path: DistinctivePath<[string, ...string[]]>): DistinctivePath<PartitionedNonEmpty<P>>
-
- withPartition<P>(partition: P, path: DistinctivePath<Segments>): DistinctivePath<Partitioned<P>>
-
Utility function to prefix a path with a
Partition
.