| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final DfsConfig | |
| private final DfsRepositoryDescription |
| Access | Constructor and Description |
|---|---|
| protected | DfsRepository(DfsRepositoryBuilder<B extends DfsRepositoryBuilder, R extends DfsRepository>
description of the repository. builder)Initialize a DFS repository. |
| Modifier and Type | Method and Description |
|---|---|
| public void | create(boolean
if true, a bare repository (a repository without a working
directory) is created. bare)Implements abstract org. Create a new Git repository initializing the necessary files and directories. |
| public AttributesNodeProvider | createAttributesNodeProvider()
Implements abstract org. Create a new |
| public boolean | Returns: true if the repository exists; false if it is new.Check if the repository already exists. |
| public StoredConfig | getConfig()
Implements abstract org. Get the configuration of this repository. |
| public DfsRepositoryDescription | |
| public String | getIdentifier()
Implements abstract org. Get repository identifier. |
| public abstract DfsObjDatabase | getObjectDatabase()
Implements abstract org. Get the object database which stores this repository's data. |
| public ReflogReader | getReflogReader(String
a refName)java. object.Overrides org. Get the reflog reader |
| public void | notifyIndexChanged(boolean
true if the index was changed by the same
JGit processImplements abstract org. Notify that the index changed by firing an IndexChangedEvent. |
| public void | scanForRepoChanges()
Implements abstract org. Force a scan for changed refs. |
| config | back to summary |
|---|---|
| private final DfsConfig config | |
| description | back to summary |
|---|---|
| private final DfsRepositoryDescription description | |
| DfsRepository | back to summary |
|---|---|
| protected DfsRepository(DfsRepositoryBuilder<B extends DfsRepositoryBuilder, R extends DfsRepository> builder) Initialize a DFS repository.
| |
| create | back to summary |
|---|---|
| public void create(boolean bare) throws IOException Implements abstract org. Doc from org. Create a new Git repository initializing the necessary files and directories.
| |
| createAttributesNodeProvider | back to summary |
|---|---|
| public AttributesNodeProvider createAttributesNodeProvider() Implements abstract org. Doc from org. Create a new
| |
| exists | back to summary |
|---|---|
| public boolean exists() throws IOException Check if the repository already exists.
| |
| getConfig | back to summary |
|---|---|
| public StoredConfig getConfig() Implements abstract org. Doc from org. Get the configuration of this repository.
| |
| getDescription | back to summary |
|---|---|
| public DfsRepositoryDescription getDescription() Get the description of this repository.
| |
| getIdentifier | back to summary |
|---|---|
| public String getIdentifier() Implements abstract org. Doc from org. Get repository identifier. | |
| getObjectDatabase | back to summary |
|---|---|
| public abstract DfsObjDatabase getObjectDatabase() Implements abstract org. Doc from org. Get the object database which stores this repository's data.
| |
| getReflogReader | back to summary |
|---|---|
| public ReflogReader getReflogReader(String refName) throws IOException Overrides org. Doc from org. Get the reflog reader
| |
| notifyIndexChanged | back to summary |
|---|---|
| public void notifyIndexChanged(boolean internal) Implements abstract org. Doc from org. Notify that the index changed by firing an IndexChangedEvent.
| |
| scanForRepoChanges | back to summary |
|---|---|
| public void scanForRepoChanges() throws IOException Implements abstract org. Doc from org. Force a scan for changed refs. Fires an IndexChangedEvent(false) if changes are detected.
| |
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private DfsRepository. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public AttributesNode | getGlobalAttributesNode()
Implements org. Retrieve the |
| public AttributesNode | getInfoAttributesNode()
Implements org. Retrieve the |
| emptyAttributesNode | back to summary |
|---|---|
| private DfsRepository. | |
| EmptyAttributesNodeProvider | back to summary |
|---|---|
| private EmptyAttributesNodeProvider() | |
| getGlobalAttributesNode | back to summary |
|---|---|
| public AttributesNode getGlobalAttributesNode() throws IOException Implements org. Doc from org. Retrieve the
| |
| getInfoAttributesNode | back to summary |
|---|---|
| public AttributesNode getInfoAttributesNode() throws IOException Implements org. Doc from org. Retrieve the
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | parse(InputStream
input stream holding the standard ignore format. The caller is
responsible for closing the stream. in)Overrides org. Parse files according to gitattribute standards. |
| EmptyAttributesNode | back to summary |
|---|---|
| public EmptyAttributesNode() | |
| parse | back to summary |
|---|---|
| public void parse(InputStream in) throws IOException Overrides org. Doc from org. Parse files according to gitattribute standards.
| |