c

codacy.git.repository

WorktreeGitRepository

class WorktreeGitRepository extends WriteGitRepository

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

Instance Constructors

  1. new WorktreeGitRepository(repositoryKeysLocation: String, repositoryLocation: String)(implicit executionContext: ExecutionContext)

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)(implicit logContext: ProjectLogContext): Seq[String]
    Definition Classes
    WriteGitRepository
  6. def cleanProjectDir(projectUrl: String)(implicit logContext: ProjectLogContext): Unit
    Definition Classes
    WriteGitRepository
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. def cloneOptions(recursive: Boolean): Seq[String]
    Attributes
    protected[repository]
    Definition Classes
    WriteGitRepository
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): 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)(implicit logContext: ProjectLogContext): Option[CommitRequest]
    Definition Classes
    WriteGitRepository
  13. def generateProjectData(values: Map[String, String])(implicit logContext: ProjectLogContext): RepositoryData
    Definition Classes
    WriteGitRepository
  14. def getAllCommits(project: ProjectRequest)(implicit logContext: ProjectLogContext): List[GitCommitWithIndex]
    Definition Classes
    WriteGitRepository
  15. def getBlame(dir: File, filename: String, startLine: Int, endLine: Int)(implicit logContext: ProjectLogContext): Option[Seq[Blame]]
  16. def getBranchCommits(project: ProjectRequest, branches: Seq[BranchRequest])(implicit logContext: ProjectLogContext): 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
    WriteGitRepository
  17. def getBranchCommits(project: ProjectRequest, branch: BranchRequest, limit: CommitRequest)(implicit logContext: ProjectLogContext): List[CommitRequest]
    Definition Classes
    WriteGitRepository
  18. def getBranchCommits(project: ProjectRequest, branch: BranchRequest, limit: Option[Int] = None)(implicit logContext: ProjectLogContext): List[GitCommit]
    Definition Classes
    WriteGitRepository
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def getCommitDiff(dir: File, sourceCommit: CommitRequest, destinationCommits: Seq[String], slf: Set[String])(implicit logContext: ProjectLogContext): CommitDiff
    Definition Classes
    WriteGitRepository
  21. def getFileContents(dir: File, commit: CommitRequest, filename: String)(implicit logContext: ProjectLogContext): GitFileContents
    Definition Classes
    WriteGitRepository
  22. def getPullRequestDiff(dir: File, source: CommitRequest, destination: String, slf: Set[String])(implicit logContext: ProjectLogContext): CommitDiff
    Definition Classes
    WriteGitRepository
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. def listAllCommits(dir: File)(implicit logContext: ProjectLogContext): List[GitCommitWithIndex]
    Definition Classes
    WriteGitRepository
  26. def listFiles(dir: File, commit: String, maxFileSizeBytesOpt: Option[Int] = Option.empty)(implicit logContext: ProjectLogContext): GitListResult
    Definition Classes
    WriteGitRepository
  27. def listSubmodulesFiles(dir: File, commit: String, maxFileSizeBytesOpt: Option[Int] = Option.empty)(implicit logContext: ProjectLogContext): Option[GitListResult]
  28. def lock[A](file: File, maxTime: Long = 1000 * 60 * 60)(method: (Lock) => A): A
    Definition Classes
    FileSystemLocks
  29. lazy val logger: ContextAwareLogger
    Attributes
    protected
    Definition Classes
    ContextLogging
    Annotations
    @transient()
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. def pathPrefix: String
  34. def processProjectUrl(project: ProjectRequest)(implicit logContext: ProjectLogContext): String
    Attributes
    protected
    Definition Classes
    GitRepository
  35. def pullChanges(dir: File, request: ProjectRequest)(implicit logContext: ProjectLogContext): Unit
    Attributes
    protected
    Definition Classes
    WriteGitRepository
  36. def pullChangesOrClone(project: ProjectRequest, projectDir: File, forceUpdate: Boolean, cloneSubmodules: Boolean)(implicit l: Lock, logContext: ProjectLogContext): File
    Attributes
    protected
    Definition Classes
    WriteGitRepository
  37. def pullChangesOrClone(projectReq: ProjectRequest, projectDir: File, cloneSubmodules: Boolean)(implicit l: Lock, logContext: ProjectLogContext): Unit
    Attributes
    protected
    Definition Classes
    WriteGitRepository
  38. val repositoryKeysLocation: String
    Definition Classes
    WriteGitRepository
  39. val repositoryLocation: String
    Definition Classes
    WriteGitRepository
  40. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  41. def toString(): String
    Definition Classes
    AnyRef → Any
  42. def updateRepository(project: ProjectRequest)(implicit logContext: ProjectLogContext): Unit

    Update repository without submodules.

    Update repository without submodules.

    Definition Classes
    WorktreeGitRepositoryWriteGitRepository
  43. def updateRepository(projectRequest: ProjectRequest, cloneSubmodules: Boolean = false)(implicit logContext: ProjectLogContext): Unit
  44. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  47. def withRepository[T](project: ProjectRequest, forceUpdate: Boolean = false)(block: (File) => T)(implicit logContext: ProjectLogContext): T
    Attributes
    protected[git]
    Definition Classes
    WorktreeGitRepositoryWriteGitRepository
  48. def withRepositoryOptions[T](project: ProjectRequest, commitOpt: Option[CommitRequest] = None, forceUpdate: Boolean = false, cloneSubmodules: Boolean = false)(block: (File) => T)(implicit logContext: ProjectLogContext): T
  49. def wrapCommandWithAuthorization(request: ProjectRequest, gitCommand: Seq[String])(implicit logContext: ProjectLogContext): CommandWithParam
    Attributes
    protected
    Definition Classes
    GitRepository

Inherited from WriteGitRepository

Inherited from FileSystemLocks

Inherited from GitRepository

Inherited from ContextLogging

Inherited from AnyRef

Inherited from Any

Ungrouped