Strip leading/trailing slashes, matching EnhancedFieldSuggestionFileFilter.
(path: string)
| 46 | |
| 47 | /** Strip leading/trailing slashes, matching EnhancedFieldSuggestionFileFilter. */ |
| 48 | function normalizeFolder(path: string): string { |
| 49 | return path.replace(/^\/+|\/+$/g, ""); |
| 50 | } |
| 51 | |
| 52 | /** |
| 53 | * Serialize a filter list into a delimiter-safe, order-insensitive token. A |
no outgoing calls
no test coverage detected