public interface GitMetadataStore
Modifier and Type | Method and Description |
---|---|
void |
delete(String name)
Deletes that repository meta information and removes its reference from the origin and forks.
|
Optional<GitMetadata> |
read(String name)
Reads the git metadata from repository.
|
void |
write(String name)
Writes the meta information about a repository without an origin.
|
void |
write(String name,
GitMetadata metadata)
Writes the meta information about a repository.
|
void |
write(String name,
String origin)
Writes the meta information about a repository and its origin.
|
void write(String name)
name
- The name of the repository.void write(String name, String origin)
name
- The name of the repositoryorigin
- The name of the origin in organizationalUnit/repositoryName formatvoid write(String name, GitMetadata metadata)
name
- The name of the repositorymetadata
- The metadata object that stores information about repositoryOptional<GitMetadata> read(String name)
name
- the repository namevoid delete(String name)
name
- The repository nameCopyright © 2012–2019 JBoss by Red Hat. All rights reserved.