Skip to content

Commit

Permalink
File type to sync Map ProxeusApp#215
Browse files Browse the repository at this point in the history
  • Loading branch information
loleg committed Mar 24, 2021
1 parent 0a38171 commit 2186f72
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sys/validate/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"io"
"os"
"strings"
"sync"

"github.com/c2h5oh/datasize"
"github.com/h2non/filetype"
Expand Down Expand Up @@ -65,7 +66,7 @@ const vagueTypeFont = "font"

type FTypes struct {
Vague map[string][]types.Type
Exact map[string]types.Type
Exact sync.Map
}

type FileType struct {
Expand Down

0 comments on commit 2186f72

Please sign in to comment.