idePathContext function

Context idePathContext(
  1. String rootPath
)

The path rules for an IDE rooted at rootPath — Windows rules for a Windows path (drive letters, shares, \, case-insensitive), POSIX rules otherwise — whatever the platform the client itself runs on.

Implementation

p.Context idePathContext(String rootPath) =>
    isWindowsRemotePath(rootPath) ? p.windows : p.posix;