Discover Packages
github.com/go-git/go-git/v5
utils
merkletrie
internal
frame
package
Version:
v5.12.0
Opens a new window with list of versions in this module.
Published: Mar 19, 2024
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 empty.
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
alphabetical 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.