Hi,
We currently have the following resource providers which handle resource
types for resources denoting files and folders:
(1) JcrResourceProvider:
File has resource type nt:file
Folder has resource type nt:folder
Jcr[Node|Property]Resource.getSuperType() returns null
(2) BundleResourceProvider:
File has resource type nt:file
Folder has resource type nt:folder
BundleResource.getSuperType() returns null
(3) FsResourceProvider:
File has resource type sling/fs/file
Folder has resource type sling/fs/folder
FsResource.getSupertType() returns sling/fs/resource
I have the impression, that in the context abstract resource access, we
might want to have common resource types identifying resources denoting
file and folder concepts.
So, I think the FsResourceProvider should be modified to implement the
resource type assignment used by the BundleResourceProvider and the
JcrResourceprovider.
WDYT ?
I am ready to do a 1.0 release of the FS Resource Provider once this has
been resolved.
Regards
Felix