Package | Description |
---|---|
com.caucho.env.git | |
com.caucho.env.repository | |
com.caucho.server.repository |
Modifier and Type | Method and Description |
---|---|
GitType |
GitObjectStream.getType() |
GitType |
GitSystem.objectType(java.lang.String sha1)
Returns the object type of the specified file.
|
static GitType |
GitSystem.validate(java.lang.String hash,
java.io.InputStream is) |
static GitType |
GitType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GitType[] |
GitType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
GitType |
RepositorySpi.getType(java.lang.String contentHash)
Returns the GitType of the file.
|
abstract GitType |
AbstractRepository.getType(java.lang.String sha1)
Returns true if the file is a blob.
|
GitType |
FileRepository.getType(java.lang.String sha1)
Returns true if the file is a blob.
|
protected GitType |
AbstractRepository.validateRawHash(java.lang.String hash) |
Modifier and Type | Method and Description |
---|---|
GitType |
ClusterRepository.getType(java.lang.String hash)
Returns the file's git type: blob, tree, or commit
|