def setupPath(self, pathProperties):
        if pathProperties.create is True:
            createDirIfNeeded(path=pathProperties.path,
                              perms=pathProperties.perms,
                              recursive=pathProperties.createRecursive)
        if pathProperties.setPerms is True:
            setDirPerms(path=pathProperties.path,
                        perms=pathProperties.perms)
        if pathProperties.checkPerms is True:
            doDirPermsEqual(path=pathProperties.path,
                            perms=pathProperties.perms)
Sets up a path / directory based on a PathProperties object
dataset/ETHPy150Open USC-NSL/miniNExT/mininext/node.py/Node.setupPath