mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 01:44:41 +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
|
// * files with / in name
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"../fs"
|
|
||||||
"code.google.com/p/goauth2/oauth"
|
"code.google.com/p/goauth2/oauth"
|
||||||
"code.google.com/p/google-api-go-client/drive/v2"
|
"code.google.com/p/google-api-go-client/drive/v2"
|
||||||
"errors"
|
"errors"
|
||||||
"flag"
|
"flag"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"github.com/ncw/rclone/fs"
|
||||||
"io"
|
"io"
|
||||||
"log"
|
"log"
|
||||||
"mime"
|
"mime"
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
package local
|
package local
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"../fs"
|
|
||||||
"crypto/md5"
|
"crypto/md5"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"github.com/ncw/rclone/fs"
|
||||||
"io"
|
"io"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"log"
|
"log"
|
||||||
|
10
rclone.go
10
rclone.go
@ -4,9 +4,9 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"./fs"
|
|
||||||
"flag"
|
"flag"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"github.com/ncw/rclone/fs"
|
||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
"runtime"
|
"runtime"
|
||||||
@ -15,10 +15,10 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
// Active file systems
|
// Active file systems
|
||||||
_ "./drive"
|
_ "github.com/ncw/rclone/drive"
|
||||||
_ "./local"
|
_ "github.com/ncw/rclone/local"
|
||||||
_ "./s3"
|
_ "github.com/ncw/rclone/s3"
|
||||||
_ "./swift"
|
_ "github.com/ncw/rclone/swift"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Globals
|
// 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://
|
// FIXME need to prevent anything but ListDir working for s3://
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"../fs"
|
|
||||||
"errors"
|
"errors"
|
||||||
"flag"
|
"flag"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"github.com/ncw/goamz/aws"
|
||||||
|
"github.com/ncw/goamz/s3"
|
||||||
|
"github.com/ncw/rclone/fs"
|
||||||
"github.com/ncw/swift"
|
"github.com/ncw/swift"
|
||||||
"io"
|
"io"
|
||||||
"launchpad.net/goamz/aws"
|
|
||||||
"launchpad.net/goamz/s3"
|
|
||||||
"log"
|
"log"
|
||||||
"mime"
|
"mime"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
@ -4,10 +4,10 @@ package swift
|
|||||||
// FIXME need to prevent anything but ListDir working for swift://
|
// FIXME need to prevent anything but ListDir working for swift://
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"../fs"
|
|
||||||
"errors"
|
"errors"
|
||||||
"flag"
|
"flag"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"github.com/ncw/rclone/fs"
|
||||||
"github.com/ncw/swift"
|
"github.com/ncw/swift"
|
||||||
"io"
|
"io"
|
||||||
"log"
|
"log"
|
||||||
|
Loading…
Reference in New Issue
Block a user