Factor UserAgent to fs and move Version to fs
This commit is contained in:
@@ -10,6 +10,12 @@ import (
|
||||
"time"
|
||||
)
|
||||
|
||||
// Constants
|
||||
const (
|
||||
// User agent for Fs which can set it
|
||||
UserAgent = "rclone/" + Version
|
||||
)
|
||||
|
||||
// Globals
|
||||
var (
|
||||
// Filesystem registry
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
package fs
|
||||
|
||||
const Version = "v1.01"
|
||||
Reference in New Issue
Block a user