edwood: github.com/rjkroege/edwood/internal/file Index | Files

package file

import "github.com/rjkroege/edwood/internal/file"

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

Package Files

doc.go file_hash.go

type Hash Uses

type Hash [sha1.Size]byte
var EmptyHash Hash

func CalcHash Uses

func CalcHash(b []byte) Hash

func HashFor Uses

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

func (Hash) Eq Uses

func (h Hash) Eq(h1 Hash) bool

func (*Hash) Set Uses

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

Package file imports 4 packages (graph) and is imported by 1 packages. Updated 2019-04-29. Refresh now. Tools for package owners.