types.py
Complex types, annotations, validators.
AbsolutePath
¶
Bases: Path
Require absolute paths in an argument.
Source code in copier/types.py
85 86 87 88 89 90 91 |
|
AllowArbitraryTypes
¶
Allow any type for this class.
Source code in copier/types.py
54 55 56 57 |
|
RelativePath
¶
Bases: Path
Require relative paths in an argument.
Source code in copier/types.py
93 94 95 96 97 98 99 |
|
path_is_absolute(value)
¶
Require absolute paths in an argument.
Source code in copier/types.py
61 62 63 64 65 66 67 |
|
path_is_relative(value)
¶
Require relative paths in an argument.
Source code in copier/types.py
70 71 72 73 74 75 76 |
|