c

codacy.git.repository

BareGitRepository

class BareGitRepository extends WriteGitRepository

Linear Supertypes
WriteGitRepository, FileSystemLocks, GitRepository, ContextLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BareGitRepository
  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 BareGitRepository(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]
  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 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
  16. def getBranchCommits(project: ProjectRequest, branch: BranchRequest, limit: CommitRequest)(implicit logContext: ProjectLogContext): List[CommitRequest]
    Definition Classes
    WriteGitRepository
  17. def getBranchCommits(project: ProjectRequest, branch: BranchRequest, limit: Option[Int] = None)(implicit logContext: ProjectLogContext): List[GitCommit]
    Definition Classes
    WriteGitRepository
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def getCommitDiff(dir: File, sourceCommit: CommitRequest, destinationCommits: Seq[String], slf: Set[String])(implicit logContext: ProjectLogContext): CommitDiff
    Definition Classes
    WriteGitRepository
  20. def getFileContents(dir: File, commit: CommitRequest, filename: String)(implicit logContext: ProjectLogContext): GitFileContents
    Definition Classes
    WriteGitRepository
  21. def getPullRequestDiff(dir: File, source: CommitRequest, destination: String, slf: Set[String])(implicit logContext: ProjectLogContext): CommitDiff
    Definition Classes
    WriteGitRepository
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. def listAllCommits(dir: File)(implicit logContext: ProjectLogContext): List[GitCommitWithIndex]
    Definition Classes
    WriteGitRepository
  25. def listFiles(dir: File, commit: String, maxFileSizeBytesOpt: Option[Int] = Option.empty)(implicit logContext: ProjectLogContext): GitListResult
    Definition Classes
    WriteGitRepository
  26. def lock[A](file: File, maxTime: Long = 1000 * 60 * 60)(method: (Lock) => A): A
    Definition Classes
    FileSystemLocks
  27. lazy val logger: ContextAwareLogger
    Attributes
    protected
    Definition Classes
    ContextLogging
    Annotations
    @transient()
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. def pathPrefix: String
  32. def processProjectUrl(project: ProjectRequest)(implicit logContext: ProjectLogContext): String
    Attributes
    protected
    Definition Classes
    GitRepository
  33. def pullChanges(dir: File, request: ProjectRequest)(implicit logContext: ProjectLogContext): Unit
    Attributes
    protected
    Definition Classes
    WriteGitRepository
  34. def pullChangesOrClone(project: ProjectRequest, projectDir: File, forceUpdate: Boolean, cloneSubmodules: Boolean)(implicit l: Lock, logContext: ProjectLogContext): File
    Attributes
    protected
    Definition Classes
    WriteGitRepository
  35. def pullChangesOrClone(projectReq: ProjectRequest, projectDir: File, cloneSubmodules: Boolean)(implicit l: Lock, logContext: ProjectLogContext): Unit
    Attributes
    protected
    Definition Classes
    WriteGitRepository
  36. val repositoryKeysLocation: String
    Definition Classes
    WriteGitRepository
  37. val repositoryLocation: String
    Definition Classes
    WriteGitRepository
  38. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. def updateRepository(project: ProjectRequest)(implicit logContext: ProjectLogContext): Unit

    Update repository without submodules.

    Update repository without submodules.

    Definition Classes
    BareGitRepositoryWriteGitRepository
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  44. def withRepository[T](project: ProjectRequest, forceUpdate: Boolean = false)(block: (File) => T)(implicit logContext: ProjectLogContext): T
    Attributes
    protected[git]
    Definition Classes
    BareGitRepositoryWriteGitRepository
  45. def wrapCommandWithAuthorization(request: ProjectRequest, gitCommand: Seq[String])(implicit logContext: ProjectLogContext): Seq[String]
    Attributes
    protected
    Definition Classes
    GitRepository

Inherited from WriteGitRepository

Inherited from FileSystemLocks

Inherited from GitRepository

Inherited from ContextLogging

Inherited from AnyRef

Inherited from Any

Ungrouped