FileMatchesMask Method

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


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


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) 2021 Callback Technologies, Inc. - All rights reserved.
CBFS Vault 2020 Go Edition - Version 20.0 [Build 7982]