def METHOD_NAME(self, mapping=None):
    # type: (dict) -> None
    """Go through all paths in Settings and set them using `dirmap`.
        If artists has Site Sync enabled, take dirmap mapping directly from
        Local Settings when artist is syncing workfile locally.
    """
    if not mapping:
        mapping = self.get_mappings()
    if not mapping:
        return
    self.on_enable_dirmap()
    for k, sp in enumerate(mapping["source-path"]):
        dst = mapping["destination-path"][k]
        try:
            # add trailing slash if missing
            sp = os.path.join(sp, '')
            dst = os.path.join(dst, '')
            print("{} -> {}".format(sp, dst))
            self.dirmap_routine(sp, dst)
        except IndexError:
            # missing corresponding destination path
            self.log.error((
                "invalid dirmap mapping, missing corresponding"
                " destination directory."
            ))
            break
        except RuntimeError:
            self.log.error(
                "invalid path {} -> {}, mapping not registered".format(
                    sp, dst
                )
            )
            continue