query: add ability to update last entry

This commit is contained in:
Ben McClelland
2022-04-26 10:09:02 -07:00
parent 5512e10b57
commit 5a348c37eb

View File

@@ -143,6 +143,11 @@ func (q *Query) Next() ([]InodesEntry, error) {
return inodes, nil
}
// SetLast updates the sequence stopping point
func (q *Query) SetLast(l InodesEntry) {
q.last = l
}
// StatMore returns scoutfs specific metadata for path
func StatMore(path string) (Stat, error) {
f, err := os.Open(path)