Affected by GO-2024-2456
and 1 other vulnerabilities
GO-2024-2456 : Path traversal and RCE in github.com/go-git/go-git/v5 and gopkg.in/src-d/go-git.v4
GO-2024-2466 : Denial of service in github.com/go-git/go-git/v5 and gopkg.in/src-d/go-git.v4
Discover Packages
gopkg.in/src-d/go-git.v4
utils
merkletrie
internal
frame
package
Version:
v4.8.1
Opens a new window with list of versions in this module.
Published: Nov 27, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
A Frame is a collection of siblings in a trie, sorted alphabetically
by name.
New returns a frame with the children of the provided node.
Drop extracts the noder with the alphabetically smaller name in the
frame or does nothing if the frame was empty.
First returns, but dont extract, the noder with the alphabetically
smaller name in the frame and true if the frame was not empy.
Otherwise it returns nil and false.
Len returns the number of noders in the frame.
String returns the quoted names of the noders in the frame sorted in
alphabeticall order by name, surrounded by square brackets and
separated by comas.
Examples:
[]
["a", "b"]
Source Files
¶
Click to show internal directories.
Click to hide internal directories.