Puli\Manager\Repository\Mapping\SyncRepositoryPath::add PHP Method

add() private method

private add ( $repositoryPath, array $filesystemPaths )
$filesystemPaths array
    private function add($repositoryPath, array $filesystemPaths)
    {
        try {
            $this->addInOrder($filesystemPaths);
        } catch (Exception $e) {
            $this->repo->remove($repositoryPath);
            throw $e;
        }
    }