MCPcopy Create free account
hub / github.com/ByteStorage/FlyDB / FirstIndex

Method FirstIndex

lib/datastore/flydb.go:40–42  ·  view source on GitHub ↗

FirstIndex is a method on FlyDbStore that returns the first index in the log

()

Source from the content-addressed store, hash-verified

38
39// FirstIndex is a method on FlyDbStore that returns the first index in the log
40func (fds *FlyDbStore) FirstIndex() (uint64, error) {
41 return fds.firstIndex, nil
42}
43
44// LastIndex is a method on FlyDbStore that returns the last index in the log
45func (fds *FlyDbStore) LastIndex() (uint64, error) {

Callers 4

Calls

no outgoing calls

Tested by 4