FileMatchesMask Method

Checks whether a particular file or directory name matches the specified mask.

Syntax

func (obj *CBMonitor) FileMatchesMask(Mask string, FileName string, CaseSensitive bool) (bool, error)

Remarks

This method checks whether the file or directory name specified by FileName matches Mask; if it does, this method returns true. The CaseSensitive parameter controls whether a case-sensitive match should be performed.

Copyright (c) 2022 Callback Technologies, Inc. - All rights reserved.
CBFS Filter 2020 Go Edition - Version 20.0 [Build 8317]