Skip to content

Commit d6b3155

Browse files
committed
Extracted filesystem code into a seperate package.
1 parent 9d636f7 commit d6b3155

File tree

6 files changed

+8
-431
lines changed

6 files changed

+8
-431
lines changed

debug.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"github.com/supercom32/dosktop/internal/memory"
55
"log"
66
"os"
7-
"github.com/supercom32/dosktop/internal/filesystem"
7+
"github.com/supercom32/filesystem"
88
)
99

1010
/*

debug_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package dosktop
22

33
import (
44
"github.com/stretchr/testify/assert"
5-
"github.com/supercom32/dosktop/internal/filesystem"
5+
"github.com/supercom32/filesystem"
66
"testing"
77
)
88

go.mod

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ require (
77
github.com/gdamore/tcell v1.4.0
88
github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646
99
github.com/nwaples/rardecode v1.1.0
10-
github.com/stretchr/testify v1.6.1
10+
github.com/stretchr/testify v1.7.0
11+
github.com/supercom32/filesystem v0.0.0-20210404054740-f1d504f0c426
1112
github.com/yeka/zip v0.0.0-20180914125537-d046722c6feb
1213
golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad // indirect
1314
golang.org/x/text v0.3.0

go.sum

+4
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN
1919
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
2020
github.com/stretchr/testify v1.6.1 h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd0=
2121
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
22+
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
23+
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
24+
github.com/supercom32/filesystem v0.0.0-20210404054740-f1d504f0c426 h1:BSUhUoM8WXdgXMojKq11Aq+7uysLzNsaYZAECy4LXRM=
25+
github.com/supercom32/filesystem v0.0.0-20210404054740-f1d504f0c426/go.mod h1:PhEZY++0ipVPis0tt3S5V6D2PuZGzm30QFrh4jB2SEI=
2226
github.com/yeka/zip v0.0.0-20180914125537-d046722c6feb h1:OJYP70YMddlmGq//EPLj8Vw2uJXmrA+cGSPhXTDpn2E=
2327
github.com/yeka/zip v0.0.0-20180914125537-d046722c6feb/go.mod h1:9BnoKCcgJ/+SLhfAXj15352hTOuVmG5Gzo8xNRINfqI=
2428
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=

internal/filesystem/filesystem.go

-219
This file was deleted.

0 commit comments

Comments
 (0)