core

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package core provides shared helpers for memory subcommands.

Exported types and functions used across multiple subcommands live here to avoid circular imports between cmd/* packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CountFileLines

func CountFileLines(data []byte) int

CountFileLines counts the number of newline characters in data.

Parameters:

  • data: raw file bytes

Returns:

  • int: number of newline characters

Types

This section is empty.

Jump to

Keyboard shortcuts

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