photoprism-client-go/vendor/github.com/dsoprea/go-utility/v2/filesystem
Kris Nóva e4323b6047 Working auth and photo json endpoint
Signed-off-by: Kris Nóva <kris@nivenly.com>
2021-02-09 11:17:06 -08:00
..
README.md Working auth and photo json endpoint 2021-02-09 11:17:06 -08:00
bounceback.go Working auth and photo json endpoint 2021-02-09 11:17:06 -08:00
boundedreadwriteseekcloser.go Working auth and photo json endpoint 2021-02-09 11:17:06 -08:00
boundedreadwriteseeker.go Working auth and photo json endpoint 2021-02-09 11:17:06 -08:00
calculate_seek.go Working auth and photo json endpoint 2021-02-09 11:17:06 -08:00
common.go Working auth and photo json endpoint 2021-02-09 11:17:06 -08:00
copy_bytes_between_positions.go Working auth and photo json endpoint 2021-02-09 11:17:06 -08:00
does_exist.go Working auth and photo json endpoint 2021-02-09 11:17:06 -08:00
graceful_copy.go Working auth and photo json endpoint 2021-02-09 11:17:06 -08:00
list_files.go Working auth and photo json endpoint 2021-02-09 11:17:06 -08:00
progress_wrapper.go Working auth and photo json endpoint 2021-02-09 11:17:06 -08:00
read_counter.go Working auth and photo json endpoint 2021-02-09 11:17:06 -08:00
readseeker_to_readerat.go Working auth and photo json endpoint 2021-02-09 11:17:06 -08:00
readwriteseekcloser.go Working auth and photo json endpoint 2021-02-09 11:17:06 -08:00
seekable_buffer.go Working auth and photo json endpoint 2021-02-09 11:17:06 -08:00
simplefileinfo.go Working auth and photo json endpoint 2021-02-09 11:17:06 -08:00
utility.go Working auth and photo json endpoint 2021-02-09 11:17:06 -08:00
write_counter.go Working auth and photo json endpoint 2021-02-09 11:17:06 -08:00

README.md

GoDoc Build Status Coverage Status Go Report Card

bounceback

An io.ReadSeeker and io.WriteSeeker that returns to the right place before reading or writing. Useful when the same file resource is being reused for reads or writes throughout that file.

list_files

A recursive path walker that supports filters.

seekable_buffer

A memory structure that satisfies io.ReadWriteSeeker.

copy_bytes_between_positions

Given an io.ReadWriteSeeker, copy N bytes from one position to an earlier position.

read_counter, write_counter

Wrap io.Reader and io.Writer structs in order to report how many bytes were transferred.

readseekwritecloser

Provides the ReadWriteSeekCloser interface that combines a RWS and a Closer. Also provides a no-op wrapper to augment a plain RWS with a closer.

boundedreadwriteseek

Wraps a ReadWriteSeeker such that no seeks can be at an offset less than a specific-offset.

calculateseek

Provides a reusable function with which to calculate seek offsets.

progress_wrapper

Provides io.Reader and io.Writer wrappers that also trigger callbacks after each call. The reader wrapper also invokes the callback upon EOF.

does_exist

Check whether a file/directory exists using a file-path.

graceful_copy

Do a copy but correctly handle short-writes and reads that might return a non- zero read count and EOF.

readseeker_to_readerat

A wrapper that allows an io.ReadSeeker to be used as a io.ReaderAt.

simplefileinfo

An implementation of os.FileInfo to support testing.