file

package
v0.0.0-...-7126e5d Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2021 License: BSD-3-Clause, MIT Imports: 4 Imported by: 0

Documentation

Overview

Package file contains the implementation details of a File. A File is a facade pattern wrapping the components comprising an editable text buffer with undo.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hash

type Hash [sha1.Size]byte
var EmptyHash Hash

func CalcHash

func CalcHash(b []byte) Hash

func HashFor

func HashFor(filename string) (h Hash, err error)

func (Hash) Eq

func (h Hash) Eq(h1 Hash) bool

func (*Hash) Set

func (h *Hash) Set(b []byte)

Jump to

Keyboard shortcuts

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