val segments: ERROR CLASS: Symbol not found for ReadonlyArray<kotlin/String>
(source) The path/pattern segments. Note, only the first segment (the root directory) may contain a directory separator character. Use the trailingSeparator field to determine whether the pattern ended with a trailing slash.