c

codacy.git.repository

WorktreeGitRepository

class WorktreeGitRepository extends GitRepository

Linear Supertypes
GitRepository, FileSystemLocks, ContextLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WorktreeGitRepository
  2. GitRepository
  3. FileSystemLocks
  4. ContextLogging
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new WorktreeGitRepository(repositoryKeysLocation: String, repositoryLocation: String)(implicit logContext: ProjectLogContext)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def changedFiles(dir: File, currentCommit: String): Seq[String]
    Definition Classes
    GitRepository
  6. def cleanProjectDir(projectUrl: String): Unit
    Definition Classes
    GitRepository
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. def cloneOptions(recursive: Boolean): String
    Attributes
    protected[repository]
    Definition Classes
    GitRepository
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def findCommonAncestor(project: ProjectRequest, source: BranchRequest, destination: BranchRequest): Option[CommitRequest]
    Definition Classes
    GitRepository
  13. def generateProjectData(values: Map[String, String]): RepositoryData
    Definition Classes
    GitRepository
  14. def getAllCommits(project: ProjectRequest): List[GitCommitWithIndex]
    Definition Classes
    GitRepository
  15. def getBlame(dir: File, filename: String, startLine: Int, endLine: Int): Option[Seq[Blame]]
  16. def getBranchCommits(project: ProjectRequest, branches: Seq[BranchRequest]): List[GitCommit]

    Fetches a list of Git commits for the specified branches in a given project.

    Fetches a list of Git commits for the specified branches in a given project.

    project

    The project request, which includes details about the project such as its URL.

    branches

    A sequence of branch requests for which commits are to be retrieved.

    returns

    A list of GitCommit instances, each representing a commit from the requested branches.

    Definition Classes
    GitRepository
  17. def getBranchCommits(project: ProjectRequest, branch: BranchRequest, limit: CommitRequest): List[CommitRequest]
    Definition Classes
    GitRepository
  18. def getBranchCommits(project: ProjectRequest, branch: BranchRequest, limit: Option[Int] = None): List[GitCommit]
    Definition Classes
    GitRepository
  19. def getBranches(projectRequest: ProjectRequest, timeout: Option[Duration] = None): Option[ProjectBranches]
    Definition Classes
    GitRepository
  20. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def getCommitDiff(dir: File, sourceCommit: CommitRequest, destinationCommits: Seq[String], slf: Set[String]): CommitDiff
    Definition Classes
    GitRepository
  22. def getFileContents(dir: File, commit: CommitRequest, filename: String): GitFileContents
    Definition Classes
    GitRepository
  23. def getPullRequestDiff(dir: File, source: CommitRequest, destination: String, slf: Set[String]): CommitDiff
    Definition Classes
    GitRepository
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def listAllCommits(dir: File): List[GitCommitWithIndex]
    Definition Classes
    GitRepository
  27. def listFiles(dir: File, commit: String, maxFileSizeBytesOpt: Option[Int] = Option.empty): GitListResult
    Definition Classes
    GitRepository
  28. def listSubmodulesFiles(dir: File, commit: String, maxFileSizeBytesOpt: Option[Int] = Option.empty): Option[GitListResult]
  29. def lock[A](file: File, maxTime: Long = 1000 * 60 * 60)(method: (Lock) ⇒ A): A
    Definition Classes
    FileSystemLocks
  30. lazy val logger: ContextAwareLogger
    Attributes
    protected
    Definition Classes
    ContextLogging
    Annotations
    @transient()
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. def pathPrefix: String
    Definition Classes
    WorktreeGitRepositoryGitRepository
  35. def pullChanges(dir: File, request: ProjectRequest): Unit
    Attributes
    protected
    Definition Classes
    GitRepository
  36. def pullChangesOrClone(project: ProjectRequest, projectDir: File, forceUpdate: Boolean, cloneSubmodules: Boolean)(implicit l: Lock): File
    Attributes
    protected
    Definition Classes
    GitRepository
  37. def pullChangesOrClone(projectReq: ProjectRequest, projectDir: File, cloneSubmodules: Boolean)(implicit l: Lock): Unit
    Attributes
    protected
    Definition Classes
    GitRepository
  38. val repositoryKeysLocation: String
    Definition Classes
    GitRepository
  39. val repositoryLocation: String
    Definition Classes
    GitRepository
  40. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  41. def toString(): String
    Definition Classes
    AnyRef → Any
  42. def updateRepository(project: ProjectRequest): Unit

    Update repository without submodules.

    Update repository without submodules.

    Definition Classes
    WorktreeGitRepositoryGitRepository
  43. def updateRepository(projectRequest: ProjectRequest, cloneSubmodules: Boolean = false): Unit
  44. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  47. def withRepository[T](project: ProjectRequest, forceUpdate: Boolean = false)(block: (File) ⇒ T): T
    Attributes
    protected[git]
    Definition Classes
    WorktreeGitRepositoryGitRepository
  48. def withRepositoryOptions[T](project: ProjectRequest, commitOpt: Option[CommitRequest] = None, forceUpdate: Boolean = false, cloneSubmodules: Boolean = false)(block: (File) ⇒ T): T

Inherited from GitRepository

Inherited from FileSystemLocks

Inherited from ContextLogging

Inherited from AnyRef

Inherited from Any

Ungrouped