PathMapping
class: PathMapping
class PathMapping(BaseModel):
src_path: str
dest_path: str = ''
sync_mode: SyncMode = <SyncMode.SYNC: 'sync'>
exclude_dirs: set[str] = ...
exclude_file_patterns: set[str] = ...
wrap: bool | None = None
Fields
| Field |
Type |
Default |
Since |
| src_path |
str |
- |
0.3.0 |
| dest_path |
str |
'' |
0.3.0 |
| sync_mode |
SyncMode |
<SyncMode.SYNC: 'sync'> |
0.3.0 |
| exclude_dirs |
set[str] |
... |
0.3.0 |
| exclude_file_patterns |
set[str] |
... |
0.3.0 |
Changes
| Version |
Change |
| 0.6.0 |
added optional field 'wrap' (default: None) |
| 0.4.1 |
added base class 'BaseModel' |
| 0.4.0 |
field 'src_path' default removed (was: PydanticUndefined) |
| 0.3.0 |
Made public |