Skip to content

Commit

Permalink
Changed to rgglez repo
Browse files Browse the repository at this point in the history
  • Loading branch information
rgglez committed Oct 25, 2024
1 parent 6a48fdf commit b94a99e
Show file tree
Hide file tree
Showing 14 changed files with 28 additions and 27 deletions.
6 changes: 3 additions & 3 deletions services/fs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Local file system service support for [go-storage](https://github.com/rgglez/go-
## Install

```go
go get go.beyondstorage.io/services/fs/v4
go get github.com/rgglez/go-storage/services/fs/v4
```

## Usage
Expand All @@ -16,8 +16,8 @@ go get go.beyondstorage.io/services/fs/v4
import (
"log"

_ "go.beyondstorage.io/services/fs/v4"
"go.beyondstorage.io/v5/services"
_ "github.com/rgglez/go-storage/services/fs/v4"
"github.com/rgglez/go-storage/v5/services"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion services/fs/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ Package fs provided support for local file system.
*/
package fs

//go:generate go run -tags tools go.beyondstorage.io/v5/cmd/definitions service.toml
//go:generate go run -tags tools github.com/rgglez/go-storage/v5/cmd/definitions service.toml
8 changes: 4 additions & 4 deletions services/fs/generated.go

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

4 changes: 2 additions & 2 deletions services/fs/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ github.com/urfave/cli/v2 v2.3.0 h1:qph92Y649prgesehzOrQjdWyxFOp/QVM+6imKHad91M=
github.com/urfave/cli/v2 v2.3.0/go.mod h1:LJmUH05zAU44vOAcrfzZQKsZbVcdbOG8rtL3/XcUArI=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
go.beyondstorage.io/v5 v5.0.0 h1:k9Axfgbt+oZXoDwSBVCl1XANHSL4rkNTGP2Lz9YdJe0=
go.beyondstorage.io/v5 v5.0.0/go.mod h1:3wV9gCQnqu7tD/3LMeo2yimUKIeTSHpTc6wHSb0yY20=
github.com/rgglez/go-storage/v5 v5.0.0 h1:k9Axfgbt+oZXoDwSBVCl1XANHSL4rkNTGP2Lz9YdJe0=
github.com/rgglez/go-storage/v5 v5.0.0/go.mod h1:3wV9gCQnqu7tD/3LMeo2yimUKIeTSHpTc6wHSb0yY20=
golang.org/x/arch v0.0.0-20180920145803-b19384d3c130/go.mod h1:cYlCBUl1MsqxdiKgmc4uh7TxZfWSFLOGSRR090WDxt8=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
Expand Down
2 changes: 1 addition & 1 deletion services/fs/readdir_js.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package fs
import (
"context"

"go.beyondstorage.io/v5/types"
typ "github.com/rgglez/go-storage/v5/types"
)

func (s *Storage) listDirNext(ctx context.Context, page *typ.ObjectPage) (err error) {
Expand Down
5 changes: 3 additions & 2 deletions services/fs/readdir_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ package fs

import (
"context"
"golang.org/x/sys/unix"
"os"
"path"
"path/filepath"

typ "go.beyondstorage.io/v5/types"
"golang.org/x/sys/unix"

typ "github.com/rgglez/go-storage/v5/types"
)

// Available value for Dirent Type
Expand Down
4 changes: 2 additions & 2 deletions services/fs/readdir_unix_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
"github.com/google/uuid"
"github.com/stretchr/testify/assert"

ps "go.beyondstorage.io/v5/pairs"
"go.beyondstorage.io/v5/types"
ps "github.com/rgglez/go-storage/v5/pairs"
"github.com/rgglez/go-storage/v5/types"
)

func fsReaddir(b *testing.B) {
Expand Down
2 changes: 1 addition & 1 deletion services/fs/readdir_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

"golang.org/x/sys/windows"

typ "go.beyondstorage.io/v5/types"
typ "github.com/rgglez/go-storage/v5/types"
)

func (s *Storage) listDirNext(ctx context.Context, page *typ.ObjectPage) (err error) {
Expand Down
6 changes: 3 additions & 3 deletions services/fs/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import (

"github.com/qingstor/go-mime"

"go.beyondstorage.io/v5/pkg/iowrap"
"go.beyondstorage.io/v5/services"
"go.beyondstorage.io/v5/types"
"github.com/rgglez/go-storage/v5/pkg/iowrap"
"github.com/rgglez/go-storage/v5/services"
"github.com/rgglez/go-storage/v5/types"
)

func (s *Storage) delete(ctx context.Context, path string, opt pairStorageDelete) (err error) {
Expand Down
2 changes: 1 addition & 1 deletion services/fs/tests/storage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"os"
"testing"

"go.beyondstorage.io/v5/tests"
"github.com/rgglez/go-storage/v5/tests"
)

func TestStorage(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions services/fs/tests/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package tests
import (
"testing"

fs "go.beyondstorage.io/services/fs/v4"
ps "go.beyondstorage.io/v5/pairs"
"go.beyondstorage.io/v5/types"
fs "github.com/rgglez/go-storage/services/fs/v4"
ps "github.com/rgglez/go-storage/v5/pairs"
"github.com/rgglez/go-storage/v5/types"
)

func setupTest(t *testing.T) types.Storager {
Expand Down
2 changes: 1 addition & 1 deletion services/fs/tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

package fs

import _ "go.beyondstorage.io/v5/cmd/definitions"
import _ "github.com/rgglez/go-storage/v5/cmd/definitions"
4 changes: 2 additions & 2 deletions services/fs/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"os"
"path/filepath"

"go.beyondstorage.io/v5/services"
typ "go.beyondstorage.io/v5/types"
"github.com/rgglez/go-storage/v5/services"
typ "github.com/rgglez/go-storage/v5/types"
)

// Std{in/out/err} support
Expand Down
2 changes: 1 addition & 1 deletion services/fs/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/stretchr/testify/assert"

"go.beyondstorage.io/v5/services"
"github.com/rgglez/go-storage/v5/services"
)

func TestNewClient(t *testing.T) {
Expand Down

0 comments on commit b94a99e

Please sign in to comment.