(self, state: 'ModuleState', arg: 'FileOrString')
return path
resolves symlinks and makes absolute a directory relative to calling meson.build,
        if not already absolute
resolves symlinks and makes absolute a directory relative to calling meson.build,
        if not already absolute
resolves symlinks and makes absolute a directory relative to calling meson . build if not already absolute
def _resolve_dir(self, state: 'ModuleState', arg: 'FileOrString') -> Path:
        """
        resolves symlinks and makes absolute a directory relative to calling meson.build,
        if not already absolute
        """
        path = self._absolute_dir(state, arg)
        try:
            # accommodate unresolvable paths e.g. symlink loops
            path = path.resolve()
        except Exception:
            # return the best we could do
            pass
        return path
def _resolve_dir ( self , state : 'ModuleState' , arg : 'FileOrString' ) -> Path : path = self . _absolute_dir ( state , arg ) try : # accommodate unresolvable paths e.g. symlink loops path = path . resolve ( ) except Exception : # return the best we could do pass return path