Factor UserAgent to fs and move Version to fs

This commit is contained in:
Nick Craig-Wood
2014-07-13 19:19:58 +01:00
parent e40b09fe61
commit c1a245d1c8
9 changed files with 18 additions and 15 deletions
+6
View File
@@ -10,6 +10,12 @@ import (
"time"
)
// Constants
const (
// User agent for Fs which can set it
UserAgent = "rclone/" + Version
)
// Globals
var (
// Filesystem registry