This commit is contained in:
Bel LaPointe
2024-01-09 14:45:36 -07:00
parent a4d39d38dc
commit 5b645b1898
43 changed files with 59 additions and 275 deletions

View File

@@ -7,7 +7,7 @@ import (
"fmt"
"io"
"io/ioutil"
"gogs.inhome.blapointe.com/local/notes-server/filetree"
"gitea.inhome.blapointe.com/local/notes-server/filetree"
"os"
"path"
"strings"

View File

@@ -3,7 +3,7 @@ package notes
import (
"bytes"
"io/ioutil"
"gogs.inhome.blapointe.com/local/notes-server/config"
"gitea.inhome.blapointe.com/local/notes-server/config"
"os"
"path"
"strings"

View File

@@ -2,7 +2,7 @@ package notes
import (
"errors"
"gogs.inhome.blapointe.com/local/notes-server/filetree"
"gitea.inhome.blapointe.com/local/notes-server/filetree"
"path"
)

View File

@@ -1,7 +1,7 @@
package notes
import (
"gogs.inhome.blapointe.com/local/notes-server/config"
"gitea.inhome.blapointe.com/local/notes-server/config"
"testing"
)

View File

@@ -2,7 +2,7 @@ package notes
import (
"fmt"
"gogs.inhome.blapointe.com/local/notes-server/filetree"
"gitea.inhome.blapointe.com/local/notes-server/filetree"
"os"
)

View File

@@ -2,7 +2,7 @@ package notes
import (
"io/ioutil"
"gogs.inhome.blapointe.com/local/notes-server/config"
"gitea.inhome.blapointe.com/local/notes-server/config"
"os"
"path"
"testing"

View File

@@ -3,7 +3,7 @@ package notes
import (
"errors"
"io/ioutil"
"gogs.inhome.blapointe.com/local/notes-server/filetree"
"gitea.inhome.blapointe.com/local/notes-server/filetree"
)
func (n *Notes) Dir(urlPath string) (string, string, error) {

View File

@@ -1,7 +1,7 @@
package notes
import (
"gogs.inhome.blapointe.com/local/notes-server/config"
"gitea.inhome.blapointe.com/local/notes-server/config"
"testing"
)

View File

@@ -4,8 +4,8 @@ import (
"errors"
"fmt"
"io/ioutil"
"gogs.inhome.blapointe.com/local/notes-server/filetree"
"gogs.inhome.blapointe.com/local/notes-server/notes/editor"
"gitea.inhome.blapointe.com/local/notes-server/filetree"
"gitea.inhome.blapointe.com/local/notes-server/notes/editor"
"strings"
)

View File

@@ -1,7 +1,7 @@
package notes
import (
"gogs.inhome.blapointe.com/local/notes-server/config"
"gitea.inhome.blapointe.com/local/notes-server/config"
"strings"
"testing"
)

View File

@@ -7,8 +7,8 @@ import (
"fmt"
"io"
"io/ioutil"
"gogs.inhome.blapointe.com/local/notes-server/filetree"
"gogs.inhome.blapointe.com/local/notes-server/notes/md"
"gitea.inhome.blapointe.com/local/notes-server/filetree"
"gitea.inhome.blapointe.com/local/notes-server/notes/md"
"path"
"regexp"
"strings"

View File

@@ -3,7 +3,7 @@ package notes
import (
"fmt"
"io/ioutil"
"gogs.inhome.blapointe.com/local/notes-server/config"
"gitea.inhome.blapointe.com/local/notes-server/config"
"os"
"path"
"strings"

View File

@@ -1,6 +1,6 @@
package notes
import "gogs.inhome.blapointe.com/local/notes-server/config"
import "gitea.inhome.blapointe.com/local/notes-server/config"
type Notes struct {
root string

View File

@@ -4,7 +4,7 @@ import (
"bufio"
"errors"
"io"
"gogs.inhome.blapointe.com/local/notes-server/filetree"
"gitea.inhome.blapointe.com/local/notes-server/filetree"
"log"
"os"
"path"

View File

@@ -45,7 +45,7 @@ func TestSearch(t *testing.T) {
func TestSearchBigFiles(t *testing.T) {
n := New()
n.root = "/usr/gogs.inhome.blapointe.com/local/bin"
n.root = "/usr/gitea.inhome.blapointe.com/local/bin"
_, err := n.Search("this file")
if err != nil {

View File

@@ -2,7 +2,7 @@ package notes
import (
"io/ioutil"
"gogs.inhome.blapointe.com/local/notes-server/filetree"
"gitea.inhome.blapointe.com/local/notes-server/filetree"
"os"
"path"
)

View File

@@ -2,7 +2,7 @@ package notes
import (
"io/ioutil"
"gogs.inhome.blapointe.com/local/notes-server/config"
"gitea.inhome.blapointe.com/local/notes-server/config"
"os"
"testing"
)