utils

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(target, source string) error

func CopyFileRec

func CopyFileRec(target, source string) error

Types

type TruncateBuffer

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

func NewTruncateBuffer

func NewTruncateBuffer(limit int) *TruncateBuffer

func (*TruncateBuffer) String

func (b *TruncateBuffer) String() string

func (*TruncateBuffer) Write

func (b *TruncateBuffer) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

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