Complete the VFS support in CARGO

Description

Useful for testing purposes, CARGO defines the VFS file system together with its handlers.

On the other hand, some methods cannot be used with the VFS:

  • ResourceUtils.copyResource always uses real files, there's no option for making it use the VFS handlers.

  • VFSFileHandler doesn't override the createDirectory method, which results in directory creation calls being redirected to the real file system.

Attached is the patch for implementing those two missing functionalities. Tests are also included.

Status

Assignee

Unassigned

Reporter

Savas Ali Tokmen

Components

Fix versions

Affects versions

1.0

Priority

Major
Configure