generated from ghostwriter/wip
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
- Loading branch information
1 parent
d885b63
commit d4c44e8
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Ghostwriter\Arm\Interface\Git; | ||
|
||
use Ghostwriter\Arm\Interface\Git\Commit\AuthorInterface; | ||
use Ghostwriter\Arm\Tool\GitHubCli\RepositoryInterface; | ||
|
||
interface GitInterface | ||
{ | ||
public function clone(RepositoryInterface $gitHubCliRepository): void; | ||
|
||
public function commit( | ||
RepositoryInterface $gitHubCliRepository, | ||
BranchInterface $branch, | ||
AuthorInterface $author, | ||
CommitInterface $commit, | ||
): void; | ||
|
||
public function delete(string $commit): string; | ||
|
||
public function exists(string $commit): bool; | ||
|
||
public function get(string $commit): string; | ||
|
||
public function list(): array; | ||
|
||
public function set(string $commit): string; | ||
|
||
public static function new(WorkingDirectoryInterface $workingDirectory): self; | ||
} |