diff options
Diffstat (limited to 'mesonbuild/scripts/__init__.py')
| -rw-r--r-- | mesonbuild/scripts/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/scripts/__init__.py b/mesonbuild/scripts/__init__.py index af6bedc17..2edbe8899 100644 --- a/mesonbuild/scripts/__init__.py +++ b/mesonbuild/scripts/__init__.py @@ -12,7 +12,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -def destdir_join(d1, d2): +# TODO: consider switching to pathlib for this +def destdir_join(d1: str, d2: str) -> str: # c:\destdir + c:\prefix must produce c:\destdir\prefix if len(d1) > 1 and d1[1] == ':' \ and len(d2) > 1 and d2[1] == ':': |
