mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-05 20:11:14 +08:00
fix function name on comment (#1940)
Signed-off-by: cui fliter <imcusg@gmail.com>
This commit is contained in:
parent
3c738c3b28
commit
6a5a2dcc17
@ -29,7 +29,7 @@ var (
|
|||||||
hyphenRegex = regexp.MustCompile(`^[a-zA-Z0-9\-]+\.[a-zA-Z0-9]+$`)
|
hyphenRegex = regexp.MustCompile(`^[a-zA-Z0-9\-]+\.[a-zA-Z0-9]+$`)
|
||||||
)
|
)
|
||||||
|
|
||||||
// CheckDirectoCheckDirectoryries initiates the checking process for the specified directories using configuration from config.Config.
|
// CheckDirectory initiates the checking process for the specified directories using configuration from config.Config.
|
||||||
func CheckDirectory(cfg *config.Config) error {
|
func CheckDirectory(cfg *config.Config) error {
|
||||||
ignoreMap := make(map[string]struct{})
|
ignoreMap := make(map[string]struct{})
|
||||||
for _, dir := range cfg.IgnoreDirs {
|
for _, dir := range cfg.IgnoreDirs {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user