file

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewErrorCopyable

func NewErrorCopyable(errorMessage string) it.Copyable

func NewReader

func NewReader(content string) it.Copyable

func Open

func Open(path string) (it.Copyable, error)

Open takes a path and return a Copyable.

func SHA256

func SHA256(src io.Reader) (string, error)

SHA256 takes a file path and returns the SHA256 sum.

Types

This section is empty.

Jump to

Keyboard shortcuts

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