info

package
v0.0.38 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: LGPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package info that extracts file statistics and metadata.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal added in v0.0.31

func Marshal(name string, f detail.Format, i, length int) (string, error)

Marshal the metadata and system details of a named file.

func Stdin

func Stdin(format string, b ...byte) (string, error)

Stdin parses piped data and prints out the details in a specific syntax.

Types

type Detail

type Detail detail.Detail

type Names added in v0.0.31

type Names struct {
	Index  int
	Length int
}

Names index and totals.

func (Names) Info added in v0.0.31

func (n Names) Info(name, format string) (string, error)

Info parses the named file and prints out its details in a specific syntax.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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