mirror of
https://github.com/rclone/rclone.git
synced 2024-11-24 17:34:57 +01:00
Make imports absolute and use own copy of goamz pending patch inclusion
This commit is contained in:
parent
90738f4081
commit
a34bf2ae5e
@ -22,12 +22,12 @@ package drive
|
||||
// * files with / in name
|
||||
|
||||
import (
|
||||
"../fs"
|
||||
"code.google.com/p/goauth2/oauth"
|
||||
"code.google.com/p/google-api-go-client/drive/v2"
|
||||
"errors"
|
||||
"flag"
|
||||
"fmt"
|
||||
"github.com/ncw/rclone/fs"
|
||||
"io"
|
||||
"log"
|
||||
"mime"
|
||||
|
@ -2,9 +2,9 @@
|
||||
package local
|
||||
|
||||
import (
|
||||
"../fs"
|
||||
"crypto/md5"
|
||||
"fmt"
|
||||
"github.com/ncw/rclone/fs"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"log"
|
||||
|
10
rclone.go
10
rclone.go
@ -4,9 +4,9 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"./fs"
|
||||
"flag"
|
||||
"fmt"
|
||||
"github.com/ncw/rclone/fs"
|
||||
"log"
|
||||
"os"
|
||||
"runtime"
|
||||
@ -15,10 +15,10 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
// Active file systems
|
||||
_ "./drive"
|
||||
_ "./local"
|
||||
_ "./s3"
|
||||
_ "./swift"
|
||||
_ "github.com/ncw/rclone/drive"
|
||||
_ "github.com/ncw/rclone/local"
|
||||
_ "github.com/ncw/rclone/s3"
|
||||
_ "github.com/ncw/rclone/swift"
|
||||
)
|
||||
|
||||
// Globals
|
||||
|
6
s3/fs.go
6
s3/fs.go
@ -4,14 +4,14 @@ package s3
|
||||
// FIXME need to prevent anything but ListDir working for s3://
|
||||
|
||||
import (
|
||||
"../fs"
|
||||
"errors"
|
||||
"flag"
|
||||
"fmt"
|
||||
"github.com/ncw/goamz/aws"
|
||||
"github.com/ncw/goamz/s3"
|
||||
"github.com/ncw/rclone/fs"
|
||||
"github.com/ncw/swift"
|
||||
"io"
|
||||
"launchpad.net/goamz/aws"
|
||||
"launchpad.net/goamz/s3"
|
||||
"log"
|
||||
"mime"
|
||||
"net/http"
|
||||
|
@ -4,10 +4,10 @@ package swift
|
||||
// FIXME need to prevent anything but ListDir working for swift://
|
||||
|
||||
import (
|
||||
"../fs"
|
||||
"errors"
|
||||
"flag"
|
||||
"fmt"
|
||||
"github.com/ncw/rclone/fs"
|
||||
"github.com/ncw/swift"
|
||||
"io"
|
||||
"log"
|
||||
|
Loading…
Reference in New Issue
Block a user