xgit

package
v0.0.0-...-a368ae6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Copyright © 2020 srz_zumix <https://github.com/srz-zumix>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Index

Constants

View Source
const DeltaAdded = git.DeltaAdded
View Source
const DeltaConflicted = git.DeltaConflicted
View Source
const DeltaCopied = git.DeltaCopied
View Source
const DeltaDeleted = git.DeltaDeleted
View Source
const DeltaIgnored = git.DeltaIgnored
View Source
const DeltaModified = git.DeltaModified
View Source
const DeltaRenamed = git.DeltaRenamed
View Source
const DeltaTypeChange = git.DeltaTypeChange
View Source
const DeltaUnmodified = git.DeltaUnmodified
View Source
const DeltaUnreadable = git.DeltaUnreadable
View Source
const DeltaUntracked = git.DeltaUntracked
View Source
const DiffDetailFiles = git.DiffDetailFiles
View Source
const DiffDetailHunks = git.DiffDetailHunks
View Source
const DiffDetailLines = git.DiffDetailLines
View Source
const DiffFormatNameOnly = git.DiffFormatNameOnly
View Source
const DiffFormatNameStatus = git.DiffFormatNameStatus
View Source
const DiffFormatPatch = git.DiffFormatPatch
View Source
const DiffFormatPatchHeader = git.DiffFormatPatchHeader
View Source
const DiffFormatRaw = git.DiffFormatRaw
View Source
const ErrIterOver = git.ErrIterOver
View Source
const FilemodeBlob = git.FilemodeBlob
View Source
const FilemodeBlobExecutable = git.FilemodeBlobExecutable
View Source
const FilemodeCommit = git.FilemodeCommit
View Source
const FilemodeLink = git.FilemodeLink
View Source
const FilemodeTree = git.FilemodeTree
View Source
const ObjectBlob = git.ObjectBlob
View Source
const ObjectCommit = git.ObjectCommit
View Source
const ObjectTree = git.ObjectTree
View Source
const SortNone = git.SortNone
View Source
const SortReverse = git.SortReverse
View Source
const SortTime = git.SortTime
View Source
const SortTopological = git.SortTopological
View Source
const SubmoduleIgnoreAll = git.SubmoduleIgnoreAll
View Source
const SubmoduleIgnoreDirty = git.SubmoduleIgnoreDirty
View Source
const SubmoduleIgnoreNone = git.SubmoduleIgnoreNone
View Source
const SubmoduleIgnoreUntracked = git.SubmoduleIgnoreUntracked

Variables

This section is empty.

Functions

func DefaultDiffOptions

func DefaultDiffOptions() (git.DiffOptions, error)

func DiffToBuf

func DiffToBuf(diff *git.Diff, format git.DiffFormat) ([]byte, error)

func IsErrorCode

func IsErrorCode(err error, errCode git.ErrorCode) bool

func OpenRepository

func OpenRepository(path string) (*git.Repository, error)

Types

type Blob

type Blob = git.Blob

type Commit

type Commit = git.Commit

type Diff

type Diff = git.Diff

type DiffDelta

type DiffDelta = git.DiffDelta

type DiffForEachHunkCallback

type DiffForEachHunkCallback = git.DiffForEachHunkCallback

type DiffOptions

type DiffOptions = git.DiffOptions

type ErrorCode

type ErrorCode = git.ErrorCode

type Object

type Object = git.Object

type ObjectType

type ObjectType = git.ObjectType

type Odb

type Odb = git.Odb

type Oid

type Oid = git.Oid

type Reference

type Reference = git.Reference

type Repository

type Repository = git.Repository

type RevWalk

type RevWalk = git.RevWalk

type Tree

type Tree = git.Tree

type TreeEntry

type TreeEntry = git.TreeEntry

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL