blkid

package
v0.1.0-alpha.8 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2018 License: MPL-2.0 Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package blkid provides bindings to libblkid.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoProbe

func DoProbe(pr C.blkid_probe)

DoProbe executes lblkid blkid_do_probe.

func FreeProbe

func FreeProbe(pr C.blkid_probe)

FreeProbe implements:

int blkid_partlist_numof_partitions (blkid_partlist ls);

func NewProbeFromFilename

func NewProbeFromFilename(s string) (C.blkid_probe, error)

NewProbeFromFilename executes lblkid blkid_new_probe_from_filename.

func ProbeGetPartitions

func ProbeGetPartitions(pr C.blkid_probe) C.blkid_partlist

ProbeGetPartitions implements:

blkid_partlist blkid_probe_get_partitions (blkid_probe pr);

func ProbeGetPartitionsPartlistNumOfPartitions

func ProbeGetPartitionsPartlistNumOfPartitions(ls C.blkid_partlist) int

ProbeGetPartitionsPartlistNumOfPartitions implements:

int blkid_partlist_numof_partitions (blkid_partlist ls);

func ProbeLookupValue

func ProbeLookupValue(pr C.blkid_probe, name string, size *int) (string, error)

ProbeLookupValue implements:

int blkid_probe_lookup_value (blkid_probe pr, const char *name, const char **data, size_t *len);

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL