trait RepositoryCommitFileService extends AnyRef

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RepositoryCommitFileService
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def commitFile(repository: RepositoryInfo, branch: String, path: String, newFileName: Option[String], oldFileName: Option[String], content: Array[Byte], message: String, commit: String, pusherAccount: Account, committerName: String, committerMailAddress: String, settings: SystemSettings)(implicit s: (blockingApi)#Session, c: Context): (ObjectId, Option[ObjectId])

    Create a file from byte array content.

    Create a file from byte array content. Returns commitId + blobId.

  2. def commitFile(repository: RepositoryInfo, branch: String, path: String, newFileName: Option[String], oldFileName: Option[String], content: String, charset: String, message: String, commit: String, loginAccount: Account, settings: SystemSettings)(implicit s: (blockingApi)#Session, c: Context): (ObjectId, Option[ObjectId])

    Create a file from string content.

    Create a file from string content. Returns commitId + blobId.

  3. def commitFiles(repository: RepositoryInfo, branch: String, message: String, loginAccount: Account, settings: SystemSettings)(f: (Git, ObjectId, DirCacheBuilder, ObjectInserter) => Unit)(implicit s: (blockingApi)#Session, c: Context): ObjectId

    Create multiple files by callback function.

    Create multiple files by callback function. Returns commitId.