mirror of
https://github.com/rclone/rclone.git
synced 2025-12-11 22:14:05 +01:00
vfs: add ECLOSED and tidy errors
This commit is contained in:
10
vfs/errors_old.go
Normal file
10
vfs/errors_old.go
Normal file
@@ -0,0 +1,10 @@
|
||||
// Errors for pre go1.8
|
||||
|
||||
//+build !go1.8
|
||||
|
||||
package vfs
|
||||
|
||||
import "errors"
|
||||
|
||||
// ECLOSED is returned when a handle is closed twice
|
||||
var ECLOSED = errors.New("file already closed")
|
||||
Reference in New Issue
Block a user