Skip to content

Mapped Network Paths #5

Description

@GavIngram

It appears that the extension doesn't behave correctly with mapped network paths.

eg: (on windows) I have a network drive mapped to the letter Y:
Y:\Folder1 should be mapped to Y:\Folder2
Rules in user settings as follows:

"diffdefault.rules": [
  ["Y/Folder1", "Y/Folder2"]
]

opened.path resolves to: /Y:/Folder1/file.text
prefix[0] resolves to: Y:\Folder1

Therefore the line: if (opened.path.startsWith(prefix0)) resolves to false and the extension doesn't launch the diff - even though it should.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions