Hi,
We need symbolic link functionality in Che's VFS system, so that some sources can be transparently used from other places inside
the workspace.
One use case for this is that we want to be able to view
nested projects as root projects in Che, so that the standard project-level operations (build, run, ...). Some extensions might need to perform project-local operation on files and resources found in other projects. Such scenarios will benefit a lot
if the VFS allows creating 'symbolic links' from one VirtualFile to another.
The actual operation is simple and can be delegated to the underlying java file system so that it becomes transparent to the persisted
VFS. The in-memory implementation for this is simple as well and can simply delegate the symbolic operations ( getContent(), isFile(), getChildren(), ... ) to the linked files. In terms of safety we can limit such links to inside the workspace folder and prevent
cycles with ease, plus any other requirement.
Do you agree on such functionality? Please provide and objection or suggestions.
We can prepare a POC pull request that demonstrates the proposal.
thank you
Tareq Sharafy
Cloud Development Experience | SAP Labs Israel | 15 Hatidhar st, Raanana 43665, Israel