File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package backend
22
3- import "github.com /urfave/cli"
3+ import "gopkg.in /urfave/cli.v1 "
44
55// Backend represents any syncing service or store that DFM can use.
66type Backend interface {
Original file line number Diff line number Diff line change 66 "path/filepath"
77
88 "github.com/chasinglogic/dfm/config"
9- "github.com /urfave/cli"
9+ "gopkg.in /urfave/cli.v1 "
1010)
1111
1212// Backend implements backend.Backend for a dropbox based remote.
Original file line number Diff line number Diff line change 77 "path/filepath"
88
99 "github.com/chasinglogic/dfm/config"
10- "github.com /urfave/cli"
10+ "gopkg.in /urfave/cli.v1 "
1111)
1212
1313func getUserMsg () string {
Original file line number Diff line number Diff line change 88 "github.com/chasinglogic/dfm/backend/dropbox"
99 "github.com/chasinglogic/dfm/backend/git"
1010 "github.com/chasinglogic/dfm/config"
11- "github.com /urfave/cli"
11+ "gopkg.in /urfave/cli.v1 "
1212)
1313
1414func loadBackend (backendName string ) backend.Backend {
Original file line number Diff line number Diff line change 55 "path/filepath"
66
77 "github.com/chasinglogic/dfm/config"
8- "github.com /urfave/cli"
8+ "gopkg.in /urfave/cli.v1 "
99)
1010
1111// Init will create a new profile with the given name.
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package cli
33import (
44 "fmt"
55
6- "github.com /urfave/cli"
6+ "gopkg.in /urfave/cli.v1 "
77)
88
99func Rm (c * cli.Context ) error {
Original file line number Diff line number Diff line change 44 "path/filepath"
55
66 "github.com/chasinglogic/dfm/config"
7- "github.com /urfave/cli"
7+ "gopkg.in /urfave/cli.v1 "
88)
99
1010func Sync (c * cli.Context ) error {
Original file line number Diff line number Diff line change 99 "path/filepath"
1010 "strings"
1111
12- "github.com /urfave/cli"
12+ "gopkg.in /urfave/cli.v1 "
1313)
1414
1515var DefaultConfigDir = GetDefaultConfigDir ()
Original file line number Diff line number Diff line change 66 "path/filepath"
77 "strings"
88
9- "github.com /urfave/cli"
9+ "gopkg.in /urfave/cli.v1 "
1010)
1111
1212func RenameAndLink (userDir , file string ) error {
You can’t perform that action at this time.
0 commit comments