Options
Menu

Interface GitRepository

Provides an interface to interacting with some kind of Git like file and source control system which is versioned

class

GitRepository

Index

Methods

branches

  • branches(fn: )

commitInfo

  • commitInfo(commitId: , fn: )

commitTree

  • commitTree(commitId: , fn: )

completePath

  • completePath(branch: , completionText: , directoriesOnly: , fn: )

createDirectory

  • createDirectory(branch: , path: , commitMessage: , fn: )

diff

  • diff(objectId: , baseObjectId: , path: , fn: )

exists

  • exists(branch: , path: , fn: )

getContent

  • getContent(objectId: , blobPath: , fn: )

getRepositoryLabel

  • getRepositoryLabel(fn: , error: )

getUserEmail

  • getUserEmail()

getUserName

  • getUserName()

history

  • history(branch: , objectId: , path: , limit: , fn: )

read

  • read(branch: , path: , fn: )

readJsonChildContent

  • readJsonChildContent(path: , nameWildcard: , search: , fn: )

remove

  • remove(branch: , path: , commitMessage: , fn: )

rename

  • rename(branch: , oldPath: , newPath: , commitMessage: , fn: )

revertTo

  • revertTo(branch: , objectId: , blobPath: , commitMessage: , fn: )

write

  • write(branch: , path: , commitMessage: , contents: , fn: )

writeBase64

  • writeBase64(branch: , path: , commitMessage: , contents: , fn: )

Generated using TypeDoc