forked from Elara6331/infinitime
Restrict to one open file of each type at a time
This commit is contained in:
@@ -11,6 +11,8 @@ var (
|
||||
ErrFileWriteOnly = errors.New("file is write only")
|
||||
ErrInvalidOffset = errors.New("invalid file offset")
|
||||
ErrOffsetChanged = errors.New("offset has already been changed")
|
||||
ErrReadOpen = errors.New("only one file can be opened for reading at a time")
|
||||
ErrWriteOpen = errors.New("only one file can be opened for writing at a time")
|
||||
)
|
||||
|
||||
// FSError represents an error returned by BLE FS
|
||||
|
||||
Reference in New Issue
Block a user