mirror of
https://github.com/versity/scoutfs-go.git
synced 2026-01-05 03:24:07 +00:00
query: add ability to update last entry
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user