code: private function unlinkImplementation($path)
      {
          if (Platform::isWindows() && is_dir($path) && is_link($path)) {
              return rmdir($path);
          }
  
          return unlink($path);
      }
docs: delete symbolic link implementation (commonly known as "unlink()")
  
  symbolic links on windows which link to directories need rmdir instead of unlink
  
  @param string $path
  
  @return bool