This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Compression.
Summary
Gets a relative file path.
- Assembly
- Cake
.Compression .dll - Namespace
- Cake
.Compression .Classes - Containing Type
- CompressionBase
Syntax
protected FilePath GetRelativeFilePath(DirectoryPath root, FilePath file)
Parameters
| Name | Type | Description |
|---|---|---|
| root | DirectoryPath | A directory path. |
| file | FilePath | A file path. |
Return Value
| Type | Description |
|---|---|
| FilePath | Returns a relative file path. |
