// IsPathPublic returns true if requested data accessible without authorization
IsPathPublic returns true if requested data accessible without authorization
// IsPathPublic returns true if requested data accessible without authorization
func (adapter *BaseAdapter) IsPathPublic(path string) (result bool, err error) {
	adapter.Lock()
	defer adapter.Unlock()
	if _, ok := adapter.Data[path]; !ok {
		return result, fmt.Errorf("path %s doesn't exits", path)
	}
	return adapter.Data[path].Public, nil
}
func ( adapter * BaseAdapter ) IsPathPublic ( path string ) ( result bool , err error ) { adapter . Lock ( ) defer adapter . Unlock ( ) if _ , ok := adapter . Data [ path ] ; ! ok { return result , fmt . Errorf ( " " , path ) } return adapter . Data [ path ] . Public , nil }
IsPathPublic returns true if requested data accessible without authorization
IsPathPublic returns true if requested data accessible without authorization