Movatterモバイル変換


[0]ホーム

URL:


Notice  The highest tagged major version isv5.

frame

package
v4.7.0+incompatibleLatest Latest
Warning

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

Go to latest
Published: Sep 6, 2018 License:Apache-2.0Imports:5Imported by:0

Details

Repository

github.com/go-git/go-git

Links

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

typeFrame

type Frame struct {// contains filtered or unexported fields}

A Frame is a collection of siblings in a trie, sorted alphabeticallyby name.

funcNew

func New(nnoder.Noder) (*Frame,error)

New returns a frame with the children of the provided node.

func (*Frame)Drop

func (f *Frame) Drop()

Drop extracts the noder with the alphabetically smaller name in theframe or does nothing if the frame was empty.

func (*Frame)First

func (f *Frame) First() (noder.Noder,bool)

First returns, but dont extract, the noder with the alphabeticallysmaller name in the frame and true if the frame was not empy.Otherwise it returns nil and false.

func (*Frame)Len

func (f *Frame) Len()int

Len returns the number of noders in the frame.

func (*Frame)String

func (f *Frame) String()string

String returns the quoted names of the noders in the frame sorted inalphabeticall order by name, surrounded by square brackets andseparated by comas.

Examples:

[]["a", "b"]

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp