.git folder
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Path | Returns: a new temporary file in the LFS directoryCreate a new temp file in the LFS directory |
| public Path | Returns: the path to the object directory used by LFS. Will be<repo>/.git/lfs/objectsGet the object directory used by LFS |
| public Path | |
| public Path | Returns: the path to the temporary directory used by LFS. Will be<repo>/.git/lfs/tmpGet the path to the temporary directory used by LFS. |
| public Path | Returns: the file which stores the original content. Its path will look like"<repo>/.git/lfs/objects/<firstTwoLettersOfID>/<remainingLettersOfID>"the id of the mediafile id)Get the media file which stores the original content |
| objDir | back to summary |
|---|---|
| private Path objDir | |
| root | back to summary |
|---|---|
| private Path root | |
| tmpDir | back to summary |
|---|---|
| private Path tmpDir | |
| Lfs | back to summary |
|---|---|
| public Lfs(Repository db) Constructor for Lfs.
| |
| createTmpFile | back to summary |
|---|---|
| public Path createTmpFile() throws IOException Create a new temp file in the LFS directory
| |
| getLfsObjDir | back to summary |
|---|---|
| public Path getLfsObjDir() Get the object directory used by LFS
| |
| getLfsRoot | back to summary |
|---|---|
| public Path getLfsRoot() Get the LFS root directory
| |
| getLfsTmpDir | back to summary |
|---|---|
| public Path getLfsTmpDir() Get the path to the temporary directory used by LFS.
| |
| getMediaFile | back to summary |
|---|---|
| public Path getMediaFile(AnyLongObjectId id) Get the media file which stores the original content
| |