Use UNC paths with fast-glob
masterUniform Naming Convention (UNC) paths cannot be used directly as patterns due to syntax restrictions. To use them, you must either provide the UNC path as the cwd (current working directory) option or use the fg.convertPathToPattern method to transform the path into a valid pattern.
Using cwd
Pass the UNC path to the cwd option in your glob function.
Using convertPathToPattern
Convert the UNC path to a pattern before appending your glob syntax.