adjust code to new repository

This commit is contained in:
T. R. Bernstein
2025-10-09 21:02:10 +02:00
committed by T. R. Bernstein
parent 0cf34c475b
commit 795cd8335f
335 changed files with 803 additions and 802 deletions

View File

@@ -6,7 +6,7 @@ import (
"strings"
"testing"
"github.com/pocketbase/pocketbase/tools/osutils"
"github.com/tabshift-gh/pocketbase/tools/osutils"
)
func TestYesNoPrompt(t *testing.T) {

View File

@@ -5,7 +5,7 @@ import (
"os"
"path/filepath"
"github.com/pocketbase/pocketbase/tools/list"
"github.com/tabshift-gh/pocketbase/tools/list"
)
// MoveDirContent moves the src dir content, that is not listed in the exclude list,
@@ -16,7 +16,7 @@ import (
// Note that this method doesn't delete the old src dir.
//
// It is an alternative to os.Rename() for the cases where we can't
// rename/delete the src dir (see https://github.com/pocketbase/pocketbase/issues/2519).
// rename/delete the src dir (see https://github.com/tabshift-gh/pocketbase/issues/2519).
func MoveDirContent(src string, dest string, rootExclude ...string) error {
entries, err := os.ReadDir(src)
if err != nil {

View File

@@ -6,9 +6,9 @@ import (
"path/filepath"
"testing"
"github.com/pocketbase/pocketbase/tools/list"
"github.com/pocketbase/pocketbase/tools/osutils"
"github.com/pocketbase/pocketbase/tools/security"
"github.com/tabshift-gh/pocketbase/tools/list"
"github.com/tabshift-gh/pocketbase/tools/osutils"
"github.com/tabshift-gh/pocketbase/tools/security"
)
func TestMoveDirContent(t *testing.T) {