File Provider: support symbolic link operations · Issue #71204 · microsoft/vscode · GitHub
Skip to content

File Provider: support symbolic link operations #71204

Open

Description

With the new file service we can support move/copy across file system providers for files and folders. However, if one of the items is a symbolic link, there is currently no way to re-create such a link on the target provider.

In node.js terms there is a method called symlink.

I think conceptually we would need new API such as link(source, target) and then providers have to deal with the quirks.

On top of that we also need a way to resolve the target of the link, otherwise we cannot make a decision how to restore it.

Bottom line: I think it only makes sense to preserve symlinks if they are self contained in the data that is being moved/copied, not when pointing outside.

Activity

  1. added
    feature-requestRequest for new features or functionality
    and removed
    debtCode quality issues
    on Jun 3, 2019
  2. changed the title [-]File Provider: unable to preserve symbolic links via move/copy across providers[/-] [+]File Provider: support symbolic link operations[/+] on Nov 12, 2019
  3. irvnriir commented on May 21, 2021

    @irvnriir

    Always should be a way to copy/preserve all symlinks .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    apifeature-requestRequest for new features or functionalityfile-ioFile I/OremoteRemote system operations issues

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions