.gitmodules file.
| Access | Constructor and Description |
|---|---|
| public | BlobBasedConfig(Config
the base configuration file base, byte[] the byte array, should be UTF-8 encoded text. blob)Parse a configuration from a byte array. |
| public | BlobBasedConfig(Config
the base configuration file base, Repository the repository db, AnyObjectId the object identifier objectId)Load a configuration file from a blob. |
| public | BlobBasedConfig(Config
the base configuration file base, Repository the repository containing the objects. db, AnyObjectId the tree (or commit) that contains the object treeish, String the path within the tree path)Load a configuration file from a blob stored in a specific commit. |
| Modifier and Type | Method and Description |
|---|---|
| private static AnyObjectId | |
| private static byte[] | |
| private static byte[] | |
| private static byte[] |
| BlobBasedConfig | back to summary |
|---|---|
| public BlobBasedConfig(Config base, byte[] blob) throws ConfigInvalidException Parse a configuration from a byte array.
| |
| BlobBasedConfig | back to summary |
|---|---|
| public BlobBasedConfig(Config base, Repository db, AnyObjectId objectId) throws IOException, ConfigInvalidException Load a configuration file from a blob.
| |
| BlobBasedConfig | back to summary |
|---|---|
| public BlobBasedConfig(Config base, Repository db, AnyObjectId treeish, String path) throws FileNotFoundException, IOException, ConfigInvalidException Load a configuration file from a blob stored in a specific commit.
| |
| asTree | back to summary |
|---|---|
| private static AnyObjectId asTree(ObjectReader or, AnyObjectId treeish) throws MissingObjectException, IncorrectObjectTypeException, IOException | |
| read | back to summary |
|---|---|
| private static byte[] read(Repository db, AnyObjectId blobId) throws MissingObjectException, IncorrectObjectTypeException, IOException | |
| read | back to summary |
|---|---|
| private static byte[] read(ObjectReader or, AnyObjectId blobId) throws MissingObjectException, IncorrectObjectTypeException, IOException | |
| read | back to summary |
|---|---|
| private static byte[] read(Repository db, AnyObjectId treeish, String path) throws MissingObjectException, IncorrectObjectTypeException, IOException | |