repo
stringlengths
6
47
file_url
stringlengths
77
269
file_path
stringlengths
5
186
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-07 08:35:43
2026-01-07 08:55:24
truncated
bool
2 classes
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/format/packfile/common.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/format/packfile/common.go
package packfile import ( "io" "github.com/jesseduffield/go-git/v5/plumbing/storer" "github.com/jesseduffield/go-git/v5/utils/ioutil" ) var signature = []byte{'P', 'A', 'C', 'K'} const ( // VersionSupported is the packfile version supported by this package VersionSupported uint32 = 2 firstLengthBits = uint8(...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/format/config/option.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/format/config/option.go
package config import ( "fmt" "strings" ) // Option defines a key/value entity in a config file. type Option struct { // Key preserving original caseness. // Use IsKey instead to compare key regardless of caseness. Key string // Original value as string, could be not normalized. Value string } type Options []...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/format/config/decoder.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/format/config/decoder.go
package config import ( "io" "github.com/go-git/gcfg" ) // A Decoder reads and decodes config files from an input stream. type Decoder struct { io.Reader } // NewDecoder returns a new decoder that reads from r. func NewDecoder(r io.Reader) *Decoder { return &Decoder{r} } // Decode reads the whole config from i...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/format/config/format.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/format/config/format.go
package config // RepositoryFormatVersion represents the repository format version, // as per defined at: // // https://git-scm.com/docs/repository-version type RepositoryFormatVersion string const ( // Version_0 is the format defined by the initial version of git, // including but not limited to the format of the ...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/format/config/section.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/format/config/section.go
package config import ( "fmt" "strings" ) // Section is the representation of a section inside git configuration files. // Each Section contains Options that are used by both the Git plumbing // and the porcelains. // Sections can be further divided into subsections. To begin a subsection // put its name in double ...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/format/config/doc.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/format/config/doc.go
// Package config implements encoding and decoding of git config files. // // Configuration File // ------------------ // // The Git configuration file contains a number of variables that affect // the Git commands' behavior. The `.git/config` file in each repository // is used to store the configuration for that ...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/format/config/encoder.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/format/config/encoder.go
package config import ( "fmt" "io" "strings" ) // An Encoder writes config files to an output stream. type Encoder struct { w io.Writer } var ( subsectionReplacer = strings.NewReplacer(`"`, `\"`, `\`, `\\`) valueReplacer = strings.NewReplacer(`"`, `\"`, `\`, `\\`, "\n", `\n`, "\t", `\t`, "\b", `\b`) ) // NewEn...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/format/config/common.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/format/config/common.go
package config // New creates a new config instance. func New() *Config { return &Config{} } // Config contains all the sections, comments and includes from a config file. type Config struct { Comment *Comment Sections Sections Includes Includes } // Includes is a list of Includes in a config file. type Include...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/transport/common.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/transport/common.go
// Package transport includes the implementation for different transport // protocols. // // `Client` can be used to fetch and send packfiles to a git server. // The `client` package provides higher level functions to instantiate the // appropriate `Client` based on the repository URL. // // go-git supports HTTP and SS...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/transport/file/client.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/transport/file/client.go
// Package file implements the file transport protocol. package file import ( "bufio" "errors" "io" "os" "path/filepath" "runtime" "strings" "github.com/jesseduffield/go-git/v5/plumbing/transport" "github.com/jesseduffield/go-git/v5/plumbing/transport/internal/common" "golang.org/x/sys/execabs" ) // Defaul...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/transport/file/server.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/transport/file/server.go
package file import ( "fmt" "os" "github.com/jesseduffield/go-git/v5/plumbing/transport" "github.com/jesseduffield/go-git/v5/plumbing/transport/internal/common" "github.com/jesseduffield/go-git/v5/plumbing/transport/server" "github.com/jesseduffield/go-git/v5/utils/ioutil" ) // ServeUploadPack serves a git-upl...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/transport/ssh/auth_method.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/transport/ssh/auth_method.go
package ssh import ( "errors" "fmt" "os" "os/user" "path/filepath" "github.com/jesseduffield/go-git/v5/plumbing/transport" "github.com/skeema/knownhosts" sshagent "github.com/xanzy/ssh-agent" "golang.org/x/crypto/ssh" ) const DefaultUsername = "git" // AuthMethod is the interface all auth methods for the ...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/transport/ssh/common.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/transport/ssh/common.go
// Package ssh implements the SSH transport protocol. package ssh import ( "context" "fmt" "net" "reflect" "strconv" "strings" "github.com/jesseduffield/go-git/v5/plumbing/transport" "github.com/jesseduffield/go-git/v5/plumbing/transport/internal/common" "github.com/skeema/knownhosts" "github.com/kevinburk...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/transport/git/common.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/transport/git/common.go
// Package git implements the git transport protocol. package git import ( "io" "net" "strconv" "github.com/jesseduffield/go-git/v5/plumbing/protocol/packp" "github.com/jesseduffield/go-git/v5/plumbing/transport" "github.com/jesseduffield/go-git/v5/plumbing/transport/internal/common" "github.com/jesseduffield/...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/transport/internal/common/mocks.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/transport/internal/common/mocks.go
package common import ( "bytes" "io" gogitioutil "github.com/jesseduffield/go-git/v5/utils/ioutil" "github.com/jesseduffield/go-git/v5/plumbing/transport" ) type MockCommand struct { stdin bytes.Buffer stdout bytes.Buffer stderr bytes.Buffer } func (c MockCommand) StderrPipe() (io.Reader, error) { return ...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/transport/internal/common/server.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/transport/internal/common/server.go
package common import ( "context" "fmt" "io" "github.com/jesseduffield/go-git/v5/plumbing/protocol/packp" "github.com/jesseduffield/go-git/v5/plumbing/transport" "github.com/jesseduffield/go-git/v5/utils/ioutil" ) // ServerCommand is used for a single server command execution. type ServerCommand struct { Stde...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/transport/internal/common/common.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/transport/internal/common/common.go
// Package common implements the git pack protocol with a pluggable transport. // This is a low-level package to implement new transports. Use a concrete // implementation instead (e.g. http, file, ssh). // // A simple example of usage can be found in the file package. package common import ( "bufio" "context" "err...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/transport/server/loader.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/transport/server/loader.go
package server import ( "github.com/jesseduffield/go-git/v5/plumbing/cache" "github.com/jesseduffield/go-git/v5/plumbing/storer" "github.com/jesseduffield/go-git/v5/plumbing/transport" "github.com/jesseduffield/go-git/v5/storage/filesystem" "github.com/go-git/go-billy/v5" "github.com/go-git/go-billy/v5/osfs" ) ...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/transport/server/server.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/transport/server/server.go
// Package server implements the git server protocol. For most use cases, the // transport-specific implementations should be used. package server import ( "context" "errors" "fmt" "io" "github.com/jesseduffield/go-git/v5/plumbing" "github.com/jesseduffield/go-git/v5/plumbing/format/packfile" "github.com/jesse...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/transport/client/client.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/transport/client/client.go
// Package client contains helper function to deal with the different client // protocols. package client import ( "fmt" "github.com/jesseduffield/go-git/v5/plumbing/transport" "github.com/jesseduffield/go-git/v5/plumbing/transport/file" "github.com/jesseduffield/go-git/v5/plumbing/transport/git" "github.com/jes...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/transport/http/receive_pack.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/transport/http/receive_pack.go
package http import ( "bytes" "context" "fmt" "io" "net/http" "github.com/jesseduffield/go-git/v5/plumbing" "github.com/jesseduffield/go-git/v5/plumbing/protocol/packp" "github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/capability" "github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/sideband...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/transport/http/upload_pack.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/transport/http/upload_pack.go
package http import ( "bytes" "context" "fmt" "io" "net/http" "github.com/jesseduffield/go-git/v5/plumbing" "github.com/jesseduffield/go-git/v5/plumbing/format/pktline" "github.com/jesseduffield/go-git/v5/plumbing/protocol/packp" "github.com/jesseduffield/go-git/v5/plumbing/transport" "github.com/jesseduffi...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/transport/http/transport.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/transport/http/transport.go
package http import ( "net/http" "net/url" ) // transportOptions contains transport specific configuration. type transportOptions struct { insecureSkipTLS bool // []byte is not comparable. caBundle string proxyURL url.URL } func (c *client) addTransport(opts transportOptions, transport *http.Transport) { c.mu...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/transport/http/common.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/transport/http/common.go
// Package http implements the HTTP transport protocol. package http import ( "bytes" "context" "crypto/tls" "crypto/x509" "fmt" "net" "net/http" "net/url" "reflect" "strconv" "strings" "sync" "github.com/jesseduffield/go-git/v5/plumbing" "github.com/jesseduffield/go-git/v5/plumbing/protocol/packp" "gi...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/color/color.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/color/color.go
package color // TODO read colors from a github.com/go-git/go-git/plumbing/format/config.Config struct // TODO implement color parsing, see https://github.com/git/git/blob/v2.26.2/color.c // Colors. See https://github.com/git/git/blob/v2.26.2/color.h#L24-L53. const ( Normal = "" Reset = "\033[m" Bold ...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/advrefs.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/advrefs.go
package packp import ( "fmt" "sort" "strings" "github.com/jesseduffield/go-git/v5/plumbing" "github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/capability" "github.com/jesseduffield/go-git/v5/plumbing/storer" "github.com/jesseduffield/go-git/v5/storage/memory" ) // AdvRefs values represent the informa...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/srvresp.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/srvresp.go
package packp import ( "bufio" "bytes" "errors" "fmt" "io" "github.com/jesseduffield/go-git/v5/plumbing" "github.com/jesseduffield/go-git/v5/plumbing/format/pktline" ) const ackLineLen = 44 // ServerResponse object acknowledgement from upload-pack service type ServerResponse struct { ACKs []plumbing.Hash } ...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/filter.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/filter.go
package packp import ( "errors" "fmt" "github.com/jesseduffield/go-git/v5/plumbing" "net/url" "strings" ) var ErrUnsupportedObjectFilterType = errors.New("unsupported object filter type") // Filter values enable the partial clone capability which causes // the server to omit objects that match the filter. // //...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/updreq_decode.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/updreq_decode.go
package packp import ( "bytes" "encoding/hex" "errors" "fmt" "io" "github.com/jesseduffield/go-git/v5/plumbing" "github.com/jesseduffield/go-git/v5/plumbing/format/pktline" ) var ( shallowLineLength = len(shallow) + hashSize minCommandLength = hashSize*2 + 2 + 1 minCommandAndCapsLength = minCo...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/gitproto.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/gitproto.go
package packp import ( "fmt" "io" "strings" "github.com/jesseduffield/go-git/v5/plumbing/format/pktline" ) var ( // ErrInvalidGitProtoRequest is returned by Decode if the input is not a // valid git protocol request. ErrInvalidGitProtoRequest = fmt.Errorf("invalid git protocol request") ) // GitProtoRequest ...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/ulreq_encode.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/ulreq_encode.go
package packp import ( "bytes" "fmt" "io" "time" "github.com/jesseduffield/go-git/v5/plumbing" "github.com/jesseduffield/go-git/v5/plumbing/format/pktline" ) // Encode writes the UlReq encoding of u to the stream. // // All the payloads will end with a newline character. Wants and // shallows are sorted alpha...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/ulreq.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/ulreq.go
package packp import ( "fmt" "time" "github.com/jesseduffield/go-git/v5/plumbing" "github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/capability" ) // UploadRequest values represent the information transmitted on a // upload-request message. Values from this type are not zero-value // safe, use the New ...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/report_status.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/report_status.go
package packp import ( "bytes" "fmt" "io" "strings" "github.com/jesseduffield/go-git/v5/plumbing" "github.com/jesseduffield/go-git/v5/plumbing/format/pktline" ) const ( ok = "ok" ) // ReportStatus is a report status message, as used in the git-receive-pack // process whenever the 'report-status' capability i...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/updreq_encode.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/updreq_encode.go
package packp import ( "fmt" "io" "github.com/jesseduffield/go-git/v5/plumbing" "github.com/jesseduffield/go-git/v5/plumbing/format/pktline" "github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/capability" ) // Encode writes the ReferenceUpdateRequest encoding to the stream. func (req *ReferenceUpdateReq...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/updreq.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/updreq.go
package packp import ( "errors" "io" "github.com/jesseduffield/go-git/v5/plumbing" "github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/capability" "github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/sideband" ) var ( ErrEmptyCommands = errors.New("commands cannot be empty") ErrMalformedComm...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/advrefs_decode.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/advrefs_decode.go
package packp import ( "bytes" "encoding/hex" "errors" "fmt" "io" "github.com/jesseduffield/go-git/v5/plumbing" "github.com/jesseduffield/go-git/v5/plumbing/format/pktline" ) // Decode reads the next advertised-refs message form its input and // stores it in the AdvRefs. func (a *AdvRefs) Decode(r io.Reader) ...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/ulreq_decode.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/ulreq_decode.go
package packp import ( "bytes" "encoding/hex" "fmt" "io" "strconv" "time" "github.com/jesseduffield/go-git/v5/plumbing" "github.com/jesseduffield/go-git/v5/plumbing/format/pktline" ) // Decode reads the next upload-request form its input and // stores it in the UploadRequest. func (req *UploadRequest) Decode...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/doc.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/doc.go
package packp /* A nice way to trace the real data transmitted and received by git, use: GIT_TRACE_PACKET=true git ls-remote http://github.com/src-d/go-git GIT_TRACE_PACKET=true git clone http://github.com/src-d/go-git Here follows a copy of the current protocol specification at the time of this writing. (Please n...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/uppackreq.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/uppackreq.go
package packp import ( "bytes" "fmt" "io" "github.com/jesseduffield/go-git/v5/plumbing" "github.com/jesseduffield/go-git/v5/plumbing/format/pktline" "github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/capability" ) // UploadPackRequest represents a upload-pack request. // Zero-value is not safe, use Ne...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/shallowupd.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/shallowupd.go
package packp import ( "bytes" "fmt" "io" "github.com/jesseduffield/go-git/v5/plumbing" "github.com/jesseduffield/go-git/v5/plumbing/format/pktline" ) const ( shallowLineLen = 48 unshallowLineLen = 50 ) type ShallowUpdate struct { Shallows []plumbing.Hash Unshallows []plumbing.Hash } func (r *ShallowU...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/advrefs_encode.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/advrefs_encode.go
package packp import ( "bytes" "fmt" "io" "sort" "github.com/jesseduffield/go-git/v5/plumbing" "github.com/jesseduffield/go-git/v5/plumbing/format/pktline" "github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/capability" ) // Encode writes the AdvRefs encoding to a writer. // // All the payloads will e...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/uppackresp.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/uppackresp.go
package packp import ( "errors" "io" "bufio" "github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/capability" "github.com/jesseduffield/go-git/v5/utils/ioutil" ) // ErrUploadPackResponseNotDecoded is returned if Read is called without // decoding first var ErrUploadPackResponseNotDecoded = errors.New("u...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/common.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/common.go
package packp import ( "fmt" ) type stateFn func() stateFn const ( // common hashSize = 40 // advrefs head = "HEAD" noHead = "capabilities^{}" ) var ( // common sp = []byte(" ") eol = []byte("\n") // advertised-refs null = []byte("\x00") peeled = []byte("^{}") noHeadMark = []byte(" capab...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/sideband/muxer.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/sideband/muxer.go
package sideband import ( "io" "github.com/jesseduffield/go-git/v5/plumbing/format/pktline" ) // Muxer multiplex the packfile along with the progress messages and the error // information. The multiplex is perform using pktline format. type Muxer struct { max int e *pktline.Encoder } const chLen = 1 // NewMu...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/sideband/doc.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/sideband/doc.go
// Package sideband implements a sideband mutiplex/demultiplexer package sideband // If 'side-band' or 'side-band-64k' capabilities have been specified by // the client, the server will send the packfile data multiplexed. // // Either mode indicates that the packfile data will be streamed broken // up into packets of ...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/sideband/demux.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/sideband/demux.go
package sideband import ( "errors" "fmt" "io" "github.com/jesseduffield/go-git/v5/plumbing/format/pktline" ) // ErrMaxPackedExceeded returned by Read, if the maximum packed size is exceeded var ErrMaxPackedExceeded = errors.New("max. packed size exceeded") // Progress where the progress information is stored ty...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/sideband/common.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/sideband/common.go
package sideband // Type sideband type "side-band" or "side-band-64k" type Type int8 const ( // Sideband legacy sideband type up to 1000-byte messages Sideband Type = iota // Sideband64k sideband type up to 65519-byte messages Sideband64k Type = iota // MaxPackedSize for Sideband type MaxPackedSize = 1000 // ...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/capability/capability.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/capability/capability.go
// Package capability defines the server and client capabilities. package capability import ( "fmt" "os" ) // Capability describes a server or client capability. type Capability string func (n Capability) String() string { return string(n) } const ( // MultiACK capability allows the server to return "ACK obj-id...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/capability/list.go
vendor/github.com/jesseduffield/go-git/v5/plumbing/protocol/packp/capability/list.go
package capability import ( "bytes" "errors" "fmt" "strings" ) var ( // ErrArgumentsRequired is returned if no arguments are giving with a // capability that requires arguments ErrArgumentsRequired = errors.New("arguments required") // ErrArguments is returned if arguments are given with a capabilities that ...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/lazycore/pkg/boxlayout/boxlayout.go
vendor/github.com/jesseduffield/lazycore/pkg/boxlayout/boxlayout.go
package boxlayout import ( "github.com/jesseduffield/lazycore/pkg/utils" "github.com/samber/lo" ) type Dimensions struct { X0 int X1 int Y0 int Y1 int } type Direction int const ( ROW Direction = iota COLUMN ) // to give a high-level explanation of what's going on here. We layout our windows by arranging a...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/jesseduffield/lazycore/pkg/utils/utils.go
vendor/github.com/jesseduffield/lazycore/pkg/utils/utils.go
package utils import ( "log" "os" "path/filepath" ) // Min returns the minimum of two integers func Min(x, y int) int { if x < y { return x } return y } // Max returns the maximum of two integers func Max(x, y int) int { if x > y { return x } return y } // Clamp returns a value x restricted between min...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/bahlo/generic-list-go/list.go
vendor/github.com/bahlo/generic-list-go/list.go
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package list implements a doubly linked list. // // To iterate over a list (where l is a *List): // for e := l.Front(); e != nil; e = e.Next() { // // do so...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/buger/jsonparser/fuzz.go
vendor/github.com/buger/jsonparser/fuzz.go
package jsonparser func FuzzParseString(data []byte) int { r, err := ParseString(data) if err != nil || r == "" { return 0 } return 1 } func FuzzEachKey(data []byte) int { paths := [][]string{ {"name"}, {"order"}, {"nested", "a"}, {"nested", "b"}, {"nested2", "a"}, {"nested", "nested3", "b"}, {"a...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/buger/jsonparser/parser.go
vendor/github.com/buger/jsonparser/parser.go
package jsonparser import ( "bytes" "errors" "fmt" "strconv" ) // Errors var ( KeyPathNotFoundError = errors.New("Key path not found") UnknownValueTypeError = errors.New("Unknown value type") MalformedJsonError = errors.New("Malformed JSON error") MalformedStringError = errors.New("Va...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/buger/jsonparser/bytes_safe.go
vendor/github.com/buger/jsonparser/bytes_safe.go
// +build appengine appenginevm package jsonparser import ( "strconv" ) // See fastbytes_unsafe.go for explanation on why *[]byte is used (signatures must be consistent with those in that file) func equalStr(b *[]byte, s string) bool { return string(*b) == s } func parseFloat(b *[]byte) (float64, error) { retur...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/buger/jsonparser/bytes.go
vendor/github.com/buger/jsonparser/bytes.go
package jsonparser import ( bio "bytes" ) // minInt64 '-9223372036854775808' is the smallest representable number in int64 const minInt64 = `9223372036854775808` // About 2x faster then strconv.ParseInt because it only supports base 10, which is enough for JSON func parseInt(bytes []byte) (v int64, ok bool, overflo...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/buger/jsonparser/escape.go
vendor/github.com/buger/jsonparser/escape.go
package jsonparser import ( "bytes" "unicode/utf8" ) // JSON Unicode stuff: see https://tools.ietf.org/html/rfc7159#section-7 const supplementalPlanesOffset = 0x10000 const highSurrogateOffset = 0xD800 const lowSurrogateOffset = 0xDC00 const basicMultilingualPlaneReservedOffset = 0xDFFF const basicMultilingualPla...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/buger/jsonparser/bytes_unsafe.go
vendor/github.com/buger/jsonparser/bytes_unsafe.go
// +build !appengine,!appenginevm package jsonparser import ( "reflect" "strconv" "unsafe" "runtime" ) // // The reason for using *[]byte rather than []byte in parameters is an optimization. As of Go 1.6, // the compiler cannot perfectly inline the function when using a non-pointer slice. That is, // the non-poi...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/Microsoft/go-winio/zsyscall_windows.go
vendor/github.com/Microsoft/go-winio/zsyscall_windows.go
//go:build windows // Code generated by 'go generate' using "github.com/Microsoft/go-winio/tools/mkwinsyscall"; DO NOT EDIT. package winio import ( "syscall" "unsafe" "golang.org/x/sys/windows" ) var _ unsafe.Pointer // Do the interface allocations only once for common // Errno values. const ( errnoERROR_IO_P...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/Microsoft/go-winio/file.go
vendor/github.com/Microsoft/go-winio/file.go
//go:build windows // +build windows package winio import ( "errors" "io" "runtime" "sync" "sync/atomic" "syscall" "time" "golang.org/x/sys/windows" ) //sys cancelIoEx(file windows.Handle, o *windows.Overlapped) (err error) = CancelIoEx //sys createIoCompletionPort(file windows.Handle, port windows.Handle, ...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/Microsoft/go-winio/sd.go
vendor/github.com/Microsoft/go-winio/sd.go
//go:build windows // +build windows package winio import ( "errors" "fmt" "unsafe" "golang.org/x/sys/windows" ) //sys lookupAccountName(systemName *uint16, accountName string, sid *byte, sidSize *uint32, refDomain *uint16, refDomainSize *uint32, sidNameUse *uint32) (err error) = advapi32.LookupAccountNameW //s...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/Microsoft/go-winio/privilege.go
vendor/github.com/Microsoft/go-winio/privilege.go
//go:build windows // +build windows package winio import ( "bytes" "encoding/binary" "fmt" "runtime" "sync" "unicode/utf16" "golang.org/x/sys/windows" ) //sys adjustTokenPrivileges(token windows.Token, releaseAll bool, input *byte, outputSize uint32, output *byte, requiredSize *uint32) (success bool, err er...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/Microsoft/go-winio/hvsock.go
vendor/github.com/Microsoft/go-winio/hvsock.go
//go:build windows // +build windows package winio import ( "context" "errors" "fmt" "io" "net" "os" "time" "unsafe" "golang.org/x/sys/windows" "github.com/Microsoft/go-winio/internal/socket" "github.com/Microsoft/go-winio/pkg/guid" ) const afHVSock = 34 // AF_HYPERV // Well known Service and VM IDs //...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/Microsoft/go-winio/fileinfo.go
vendor/github.com/Microsoft/go-winio/fileinfo.go
//go:build windows // +build windows package winio import ( "os" "runtime" "unsafe" "golang.org/x/sys/windows" ) // FileBasicInfo contains file access time and file attributes information. type FileBasicInfo struct { CreationTime, LastAccessTime, LastWriteTime, ChangeTime windows.Filetime FileAttributes ...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/Microsoft/go-winio/reparse.go
vendor/github.com/Microsoft/go-winio/reparse.go
//go:build windows // +build windows package winio import ( "bytes" "encoding/binary" "fmt" "strings" "unicode/utf16" "unsafe" ) const ( reparseTagMountPoint = 0xA0000003 reparseTagSymlink = 0xA000000C ) type reparseDataBuffer struct { ReparseTag uint32 ReparseDataLength uint16 Reserved ...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/Microsoft/go-winio/syscall.go
vendor/github.com/Microsoft/go-winio/syscall.go
//go:build windows package winio //go:generate go run github.com/Microsoft/go-winio/tools/mkwinsyscall -output zsyscall_windows.go ./*.go
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/Microsoft/go-winio/backup.go
vendor/github.com/Microsoft/go-winio/backup.go
//go:build windows // +build windows package winio import ( "encoding/binary" "errors" "fmt" "io" "os" "runtime" "unicode/utf16" "github.com/Microsoft/go-winio/internal/fs" "golang.org/x/sys/windows" ) //sys backupRead(h windows.Handle, b []byte, bytesRead *uint32, abort bool, processSecurity bool, context...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/Microsoft/go-winio/ea.go
vendor/github.com/Microsoft/go-winio/ea.go
package winio import ( "bytes" "encoding/binary" "errors" ) type fileFullEaInformation struct { NextEntryOffset uint32 Flags uint8 NameLength uint8 ValueLength uint16 } var ( fileFullEaInformationSize = binary.Size(&fileFullEaInformation{}) errInvalidEaBuffer = errors.New("invalid extend...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/Microsoft/go-winio/doc.go
vendor/github.com/Microsoft/go-winio/doc.go
// This package provides utilities for efficiently performing Win32 IO operations in Go. // Currently, this package is provides support for genreal IO and management of // - named pipes // - files // - [Hyper-V sockets] // // This code is similar to Go's [net] package, and uses IO completion ports to avoid // blo...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/Microsoft/go-winio/pipe.go
vendor/github.com/Microsoft/go-winio/pipe.go
//go:build windows // +build windows package winio import ( "context" "errors" "fmt" "io" "net" "os" "runtime" "time" "unsafe" "golang.org/x/sys/windows" "github.com/Microsoft/go-winio/internal/fs" ) //sys connectNamedPipe(pipe windows.Handle, o *windows.Overlapped) (err error) = ConnectNamedPipe //sys ...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/Microsoft/go-winio/pkg/guid/guid_nonwindows.go
vendor/github.com/Microsoft/go-winio/pkg/guid/guid_nonwindows.go
//go:build !windows // +build !windows package guid // GUID represents a GUID/UUID. It has the same structure as // golang.org/x/sys/windows.GUID so that it can be used with functions expecting // that type. It is defined as its own type as that is only available to builds // targeted at `windows`. The representation...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/Microsoft/go-winio/pkg/guid/guid_windows.go
vendor/github.com/Microsoft/go-winio/pkg/guid/guid_windows.go
//go:build windows // +build windows package guid import "golang.org/x/sys/windows" // GUID represents a GUID/UUID. It has the same structure as // golang.org/x/sys/windows.GUID so that it can be used with functions expecting // that type. It is defined as its own type so that stringification and // marshaling can b...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/Microsoft/go-winio/pkg/guid/variant_string.go
vendor/github.com/Microsoft/go-winio/pkg/guid/variant_string.go
// Code generated by "stringer -type=Variant -trimprefix=Variant -linecomment"; DO NOT EDIT. package guid import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[VariantU...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/Microsoft/go-winio/pkg/guid/guid.go
vendor/github.com/Microsoft/go-winio/pkg/guid/guid.go
// Package guid provides a GUID type. The backing structure for a GUID is // identical to that used by the golang.org/x/sys/windows GUID type. // There are two main binary encodings used for a GUID, the big-endian encoding, // and the Windows (mixed-endian) encoding. See here for details: // https://en.wikipedia.org/wi...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/Microsoft/go-winio/internal/stringbuffer/wstring.go
vendor/github.com/Microsoft/go-winio/internal/stringbuffer/wstring.go
package stringbuffer import ( "sync" "unicode/utf16" ) // TODO: worth exporting and using in mkwinsyscall? // Uint16BufferSize is the buffer size in the pool, chosen somewhat arbitrarily to accommodate // large path strings: // MAX_PATH (260) + size of volume GUID prefix (49) + null terminator = 310. const MinWStr...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/Microsoft/go-winio/internal/socket/rawaddr.go
vendor/github.com/Microsoft/go-winio/internal/socket/rawaddr.go
package socket import ( "unsafe" ) // RawSockaddr allows structs to be used with [Bind] and [ConnectEx]. The // struct must meet the Win32 sockaddr requirements specified here: // https://docs.microsoft.com/en-us/windows/win32/winsock/sockaddr-2 // // Specifically, the struct size must be least larger than an int16 ...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/Microsoft/go-winio/internal/socket/zsyscall_windows.go
vendor/github.com/Microsoft/go-winio/internal/socket/zsyscall_windows.go
//go:build windows // Code generated by 'go generate' using "github.com/Microsoft/go-winio/tools/mkwinsyscall"; DO NOT EDIT. package socket import ( "syscall" "unsafe" "golang.org/x/sys/windows" ) var _ unsafe.Pointer // Do the interface allocations only once for common // Errno values. const ( errnoERROR_IO_...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/Microsoft/go-winio/internal/socket/socket.go
vendor/github.com/Microsoft/go-winio/internal/socket/socket.go
//go:build windows package socket import ( "errors" "fmt" "net" "sync" "syscall" "unsafe" "github.com/Microsoft/go-winio/pkg/guid" "golang.org/x/sys/windows" ) //go:generate go run github.com/Microsoft/go-winio/tools/mkwinsyscall -output zsyscall_windows.go socket.go //sys getsockname(s windows.Handle, nam...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/Microsoft/go-winio/internal/fs/zsyscall_windows.go
vendor/github.com/Microsoft/go-winio/internal/fs/zsyscall_windows.go
//go:build windows // Code generated by 'go generate' using "github.com/Microsoft/go-winio/tools/mkwinsyscall"; DO NOT EDIT. package fs import ( "syscall" "unsafe" "golang.org/x/sys/windows" ) var _ unsafe.Pointer // Do the interface allocations only once for common // Errno values. const ( errnoERROR_IO_PEND...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/Microsoft/go-winio/internal/fs/security.go
vendor/github.com/Microsoft/go-winio/internal/fs/security.go
package fs // https://learn.microsoft.com/en-us/windows/win32/api/winnt/ne-winnt-security_impersonation_level type SecurityImpersonationLevel int32 // C default enums underlying type is `int`, which is Go `int32` // Impersonation levels const ( SecurityAnonymous SecurityImpersonationLevel = 0 SecurityIdentific...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/Microsoft/go-winio/internal/fs/doc.go
vendor/github.com/Microsoft/go-winio/internal/fs/doc.go
// This package contains Win32 filesystem functionality. package fs
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/Microsoft/go-winio/internal/fs/fs.go
vendor/github.com/Microsoft/go-winio/internal/fs/fs.go
//go:build windows package fs import ( "golang.org/x/sys/windows" "github.com/Microsoft/go-winio/internal/stringbuffer" ) //go:generate go run github.com/Microsoft/go-winio/tools/mkwinsyscall -output zsyscall_windows.go fs.go // https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilew /...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/lucasb-eyer/go-colorful/sort.go
vendor/github.com/lucasb-eyer/go-colorful/sort.go
// This file provides functions for sorting colors. package colorful import ( "math" "sort" ) // An element represents a single element of a set. It is used to // implement a disjoint-set forest. type element struct { parent *element // Parent element rank int // Rank (approximate depth) of the subtree w...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/lucasb-eyer/go-colorful/hsluv.go
vendor/github.com/lucasb-eyer/go-colorful/hsluv.go
package colorful import "math" // Source: https://github.com/hsluv/hsluv-go // Under MIT License // Modified so that Saturation and Luminance are in [0..1] instead of [0..100]. // HSLuv uses a rounded version of the D65. This has no impact on the final RGB // values, but to keep high levels of accuracy for internal ...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/lucasb-eyer/go-colorful/colorgens.go
vendor/github.com/lucasb-eyer/go-colorful/colorgens.go
// Various ways to generate single random colors package colorful // Creates a random dark, "warm" color through a restricted HSV space. func FastWarmColorWithRand(rand RandInterface) Color { return Hsv( rand.Float64()*360.0, 0.5+rand.Float64()*0.3, 0.3+rand.Float64()*0.3) } func FastWarmColor() Color { retu...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/lucasb-eyer/go-colorful/happy_palettegen.go
vendor/github.com/lucasb-eyer/go-colorful/happy_palettegen.go
package colorful // Uses the HSV color space to generate colors with similar S,V but distributed // evenly along their Hue. This is fast but not always pretty. // If you've got time to spare, use Lab (the non-fast below). func FastHappyPaletteWithRand(colorsCount int, rand RandInterface) (colors []Color) { colors = m...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/lucasb-eyer/go-colorful/soft_palettegen.go
vendor/github.com/lucasb-eyer/go-colorful/soft_palettegen.go
// Largely inspired by the descriptions in http://lab.medialab.sciences-po.fr/iwanthue/ // but written from scratch. package colorful import ( "fmt" "math" ) // The algorithm works in L*a*b* color space and converts to RGB in the end. // L* in [0..1], a* and b* in [-1..1] type lab_t struct { L, A, B float64 } ty...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/lucasb-eyer/go-colorful/rand.go
vendor/github.com/lucasb-eyer/go-colorful/rand.go
package colorful import "math/rand" type RandInterface interface { Float64() float64 Intn(n int) int } type defaultGlobalRand struct{} func (df defaultGlobalRand) Float64() float64 { return rand.Float64() } func (df defaultGlobalRand) Intn(n int) int { return rand.Intn(n) } func getDefaultGlobalRand() RandInt...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/lucasb-eyer/go-colorful/colors.go
vendor/github.com/lucasb-eyer/go-colorful/colors.go
// The colorful package provides all kinds of functions for working with colors. package colorful import ( "fmt" "image/color" "math" "strconv" ) // A color is stored internally using sRGB (standard RGB) values in the range 0-1 type Color struct { R, G, B float64 } // Implement the Go color.Color interface. fun...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/lucasb-eyer/go-colorful/hexcolor.go
vendor/github.com/lucasb-eyer/go-colorful/hexcolor.go
package colorful import ( "database/sql/driver" "encoding/json" "fmt" "reflect" ) // A HexColor is a Color stored as a hex string "#rrggbb". It implements the // database/sql.Scanner, database/sql/driver.Value, // encoding/json.Unmarshaler and encoding/json.Marshaler interfaces. type HexColor Color type errUnsup...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/lucasb-eyer/go-colorful/warm_palettegen.go
vendor/github.com/lucasb-eyer/go-colorful/warm_palettegen.go
package colorful // Uses the HSV color space to generate colors with similar S,V but distributed // evenly along their Hue. This is fast but not always pretty. // If you've got time to spare, use Lab (the non-fast below). func FastWarmPaletteWithRand(colorsCount int, rand RandInterface) (colors []Color) { colors = ma...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/stefanhaller/git-todo-parser/todo/write.go
vendor/github.com/stefanhaller/git-todo-parser/todo/write.go
package todo import ( "io" "strings" ) func Write(f io.Writer, todos []Todo, commentChar byte) error { for _, todo := range todos { if err := writeTodo(f, todo, commentChar); err != nil { return err } } return nil } func writeTodo(f io.Writer, todo Todo, commentChar byte) error { var sb strings.Builder...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/stefanhaller/git-todo-parser/todo/todo.go
vendor/github.com/stefanhaller/git-todo-parser/todo/todo.go
package todo type TodoCommand uint8 const ( Pick TodoCommand = iota + 1 Revert Edit Reword Fixup Squash Exec Break Label Reset Merge NoOp Drop UpdateRef Comment ) type Todo struct { Command TodoCommand Commit string Flag string Comment string ExecCommand string Label ...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/stefanhaller/git-todo-parser/todo/parse.go
vendor/github.com/stefanhaller/git-todo-parser/todo/parse.go
package todo import ( "bufio" "errors" "fmt" "io" "strings" ) var ( ErrUnexpectedCommand = errors.New("unexpected command") ErrMissingLabel = errors.New("missing label") ErrMissingCommit = errors.New("missing commit") ErrMissingExecCmd = errors.New("missing command for exec") ErrMissingRef ...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/rivo/uniseg/emojipresentation.go
vendor/github.com/rivo/uniseg/emojipresentation.go
// Code generated via go generate from gen_properties.go. DO NOT EDIT. package uniseg // emojiPresentation are taken from // // and // https://unicode.org/Public/15.0.0/ucd/emoji/emoji-data.txt // ("Extended_Pictographic" only) // on September 5, 2023. See https://www.unicode.org/license.html for the Unicode // licen...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/rivo/uniseg/linerules.go
vendor/github.com/rivo/uniseg/linerules.go
package uniseg import "unicode/utf8" // The states of the line break parser. const ( lbAny = iota lbBK lbCR lbLF lbNL lbSP lbZW lbWJ lbGL lbBA lbHY lbCL lbCP lbEX lbIS lbSY lbOP lbQU lbQUSP lbNS lbCLCPSP lbB2 lbB2SP lbCB lbBB lbLB21a lbHL lbAL lbNU lbPR lbEB lbIDEM lbNUNU lbNUSY lbN...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/rivo/uniseg/word.go
vendor/github.com/rivo/uniseg/word.go
package uniseg import "unicode/utf8" // FirstWord returns the first word found in the given byte slice according to // the rules of [Unicode Standard Annex #29, Word Boundaries]. This function can // be called continuously to extract all words from a byte slice, as illustrated // in the example below. // // If you do...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/rivo/uniseg/sentence.go
vendor/github.com/rivo/uniseg/sentence.go
package uniseg import "unicode/utf8" // FirstSentence returns the first sentence found in the given byte slice // according to the rules of [Unicode Standard Annex #29, Sentence Boundaries]. // This function can be called continuously to extract all sentences from a byte // slice, as illustrated in the example below....
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/rivo/uniseg/graphemerules.go
vendor/github.com/rivo/uniseg/graphemerules.go
package uniseg // The states of the grapheme cluster parser. const ( grAny = iota grCR grControlLF grL grLVV grLVTT grPrepend grExtendedPictographic grExtendedPictographicZWJ grRIOdd grRIEven ) // The grapheme cluster parser's breaking instructions. const ( grNoBoundary = iota grBoundary ) // grTransiti...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
false
jesseduffield/lazygit
https://github.com/jesseduffield/lazygit/blob/80dd695d7a8d32714603f5a6307f26f589802b1d/vendor/github.com/rivo/uniseg/lineproperties.go
vendor/github.com/rivo/uniseg/lineproperties.go
// Code generated via go generate from gen_properties.go. DO NOT EDIT. package uniseg // lineBreakCodePoints are taken from // https://www.unicode.org/Public/15.0.0/ucd/LineBreak.txt // and // https://unicode.org/Public/15.0.0/ucd/emoji/emoji-data.txt // ("Extended_Pictographic" only) // on September 5, 2023. See htt...
go
MIT
80dd695d7a8d32714603f5a6307f26f589802b1d
2026-01-07T08:35:43.445894Z
true