(meta *model.Meta, path string)
| 172 | } |
| 173 | |
| 174 | func isEncrypt(meta *model.Meta, path string) bool { |
| 175 | if common.IsStorageSignEnabled(path) { |
| 176 | return true |
| 177 | } |
| 178 | if meta == nil || meta.Password == "" { |
| 179 | return false |
| 180 | } |
| 181 | return common.MetaCoversPath(meta.Path, path, meta.PSub) |
| 182 | } |
no test coverage detected