package
Version:
v0.1.4
Opens a new window with list of versions in this module.
Published: Jun 27, 2026
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Iterator provides iteration over a list
HasNext returns true if there are more elements
Next advances the iterator and returns the current element's data
List represents an ALPM list node
Add adds data to the list and returns the new list head
NewList creates a new List wrapper from a C pointer
Count returns the number of items in the list
Data returns the data pointer from the list node
Free frees the list structure (but not the data)
Iterator returns an iterator for the list
Next returns the next node in the list
Prev returns the previous node in the list
Ptr returns the underlying C pointer
ToSlice converts the list to a Go slice of pointers
Source Files
¶
Click to show internal directories.
Click to hide internal directories.