internal

package
v0.0.0-...-21b395e Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const CHUNK_SIZE = 16 * 1024

Variables

View Source
var (
	Bytes bool
	Lines bool
	Words bool
	Chars bool
	Debug bool
)

Functions

func Handle

func Handle(cmd *cobra.Command, args []string)

Types

type WCContext

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

func New

func New(files []string, bytes, lines, words, chars bool) (*WCContext, error)

func (*WCContext) Compute

func (ctx *WCContext) Compute()

func (*WCContext) String

func (ctx *WCContext) String() string

Jump to

Keyboard shortcuts

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