resolveSymbolicLinksSync method

  1. @override
Resource resolveSymbolicLinksSync()
override

Return a resource that refers to the same resource as this resource, but whose path does not contain any symbolic links.

Implementation

@override
Resource resolveSymbolicLinksSync() {
  final resolved = file.resolveSymbolicLinksSync();

  return fileSystem.file(resolved).toAnalyzerFile();
}