File: backend.go

package info (click to toggle)
golang-github-git-lfs-gitobj 2.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 432 kB
  • sloc: makefile: 2; sh: 1
file content (10 lines) | stat: -rw-r--r-- 345 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
package storage

// Backend is an encapsulation of a set of read-only and read-write interfaces
// for reading and writing objects.
type Backend interface {
	// Storage returns a read source and optionally a write source.
	// Generally, the write location, if present, should also be a read
	// location.
	Storage() (Storage, WritableStorage)
}