Skip to content

Commit

Permalink
remod
Browse files Browse the repository at this point in the history
  • Loading branch information
ozansz committed Aug 18, 2023
1 parent d9695ad commit 7334776
Show file tree
Hide file tree
Showing 595 changed files with 246,328 additions and 32 deletions.
12 changes: 6 additions & 6 deletions cmd/gls.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import (
"strings"
"sync"

"github.com/ozansz/gls/gui"
"github.com/ozansz/gls/internal"
"github.com/ozansz/gls/internal/fs"
"github.com/ozansz/gls/internal/local"
"github.com/ozansz/gls/internal/types"
"github.com/ozansz/gls/log"
"go.sazak.io/gls/gui"
"go.sazak.io/gls/internal"
"go.sazak.io/gls/internal/fs"
"go.sazak.io/gls/internal/local"
"go.sazak.io/gls/internal/types"
"go.sazak.io/gls/log"

"github.com/rivo/tview"
)
Expand Down
5 changes: 2 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
module github.com/ozansz/gls
module go.sazak.io/gls

go 1.18

require (
github.com/gdamore/tcell/v2 v2.5.1
github.com/h2non/filetype v1.1.3
github.com/rivo/tview v0.0.0-20220703182358-a13d901d3386
github.com/stretchr/testify v1.8.0
golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0
)

Expand All @@ -16,8 +17,6 @@ require (
github.com/mattn/go-runewidth v0.0.13 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/rivo/uniseg v0.2.0 // indirect
github.com/stretchr/objx v0.4.0 // indirect
github.com/stretchr/testify v1.8.0 // indirect
golang.org/x/sys v0.0.0-20220704084225-05e143d24a9e // indirect
golang.org/x/term v0.0.0-20220526004731-065cf7ba2467 // indirect
golang.org/x/text v0.3.7 // indirect
Expand Down
2 changes: 1 addition & 1 deletion go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ github.com/rivo/tview v0.0.0-20220703182358-a13d901d3386/go.mod h1:WIfMkQNY+oq/m
github.com/rivo/uniseg v0.2.0 h1:S1pD9weZBuJdFmowNwbpi7BJ8TNftyUImj/0WQi72jY=
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.4.0 h1:M2gUjqZET1qApGOWNSnZ49BAIMX4F/1plDv3+l31EJ4=
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.8.0 h1:pSgiaMZlXftHpm5L7V1+rVB+AZJydKsMxsQBIJw4PKk=
Expand All @@ -40,6 +39,7 @@ golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk=
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
Expand Down
13 changes: 7 additions & 6 deletions gui/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,21 @@ package gui

import (
"fmt"
"github.com/gdamore/tcell/v2"
"github.com/ozansz/gls/internal/cp"
"io/ioutil"
"os"
"os/exec"
"path/filepath"
"time"

"github.com/gdamore/tcell/v2"
"go.sazak.io/gls/internal/cp"

"github.com/rivo/tview"

"github.com/ozansz/gls/internal"
"github.com/ozansz/gls/internal/info"
"github.com/ozansz/gls/internal/types"
"github.com/ozansz/gls/log"
"go.sazak.io/gls/internal"
"go.sazak.io/gls/internal/info"
"go.sazak.io/gls/internal/types"
"go.sazak.io/gls/log"
)

var (
Expand Down
5 changes: 3 additions & 2 deletions internal/cp/copy_test.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package cp

import (
"github.com/ozansz/gls/log"
"github.com/stretchr/testify/assert"
"os"
"path/filepath"
"testing"

"github.com/stretchr/testify/assert"
"go.sazak.io/gls/log"
)

func TestMain(m *testing.M) {
Expand Down
4 changes: 2 additions & 2 deletions internal/fs/tree_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package fs
import (
"fmt"

"github.com/ozansz/gls/internal/local"
"github.com/ozansz/gls/internal/types"
"go.sazak.io/gls/internal/local"
"go.sazak.io/gls/internal/types"
)

type FileTreeBuilderOption func(*FileTreeBuilder)
Expand Down
9 changes: 5 additions & 4 deletions internal/fs/walk.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ import (
"strings"
"sync"

"github.com/ozansz/gls/internal/size"
"github.com/ozansz/gls/internal/local"
"github.com/ozansz/gls/internal/types"
"github.com/ozansz/gls/log"
"go.sazak.io/gls/internal/local"
"go.sazak.io/gls/internal/size"
"go.sazak.io/gls/internal/types"
"go.sazak.io/gls/log"

"golang.org/x/sync/errgroup"
)

Expand Down
5 changes: 3 additions & 2 deletions internal/size/size_darwin.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package size

import (
"github.com/ozansz/gls/internal"
"go.sazak.io/gls/internal"

"fmt"
"io/fs"
"syscall"
"fmt"
)

func (fsInfo FsInfo) GetSize(fInfo fs.FileInfo) (int64, error) {
Expand Down
5 changes: 3 additions & 2 deletions internal/size/size_linux.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package size

import (
"github.com/ozansz/gls/internal"
"fmt"
"io/fs"
"syscall"
"fmt"

"go.sazak.io/gls/internal"
)

func (fsInfo FsInfo) GetSize(fInfo fs.FileInfo) (int64, error) {
Expand Down
3 changes: 2 additions & 1 deletion internal/size/size_windows.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
package size

import (
"github.com/ozansz/gls/internal"
"io/fs"

"go.sazak.io/gls/internal"
)

func (fsInfo FsInfo) GetSize(fInfo fs.FileInfo) (int64, error) {
Expand Down
6 changes: 3 additions & 3 deletions internal/types/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"sync"
"time"

"github.com/ozansz/gls/internal"
"github.com/ozansz/gls/internal/analyzer"
"github.com/ozansz/gls/internal/size"
"go.sazak.io/gls/internal"
"go.sazak.io/gls/internal/analyzer"
"go.sazak.io/gls/internal/size"
)

type Node struct {
Expand Down
15 changes: 15 additions & 0 deletions vendor/github.com/davecgh/go-spew/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

145 changes: 145 additions & 0 deletions vendor/github.com/davecgh/go-spew/spew/bypass.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 38 additions & 0 deletions vendor/github.com/davecgh/go-spew/spew/bypasssafe.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7334776

Please sign in to comment.