Use path/filepath instead of path #391

Merged
dan merged 2 commits from windows-paths into master 2021-09-30 23:02:05 +00:00
3 changed files with 9 additions and 43110 deletions

View File

@ -2,20 +2,19 @@ package filesharing
import ( import (
"crypto/rand" "crypto/rand"
"encoding/hex"
"encoding/json"
"errors"
"fmt"
"io"
"math"
"path"
"strconv"
"cwtch.im/cwtch/model" "cwtch.im/cwtch/model"
"cwtch.im/cwtch/model/attr" "cwtch.im/cwtch/model/attr"
"cwtch.im/cwtch/peer" "cwtch.im/cwtch/peer"
"cwtch.im/cwtch/protocol/files" "cwtch.im/cwtch/protocol/files"
"encoding/hex"
"encoding/json"
"errors"
"fmt"
"git.openprivacy.ca/openprivacy/log" "git.openprivacy.ca/openprivacy/log"
"io"
"math"
path "path/filepath"
"strconv"
) )
// Functionality groups some common UI triggered functions for contacts... // Functionality groups some common UI triggered functions for contacts...

View File

@ -4,7 +4,7 @@ import (
"encoding/hex" "encoding/hex"
"encoding/json" "encoding/json"
"fmt" "fmt"
"path" path "path/filepath"
"strconv" "strconv"
"strings" "strings"
"sync" "sync"