Apache Sling Commons JCR File

Clone this repo:
  1. 4f0ffe2 SLING-12866 - Restrict force pushes, auto-delete branches on merge by Robert Munteanu · 5 weeks ago master
  2. 0518260 SLING-12459 - Redirect sonarcloud notifications to commits@apache.sling.org by Robert Munteanu · 10 months ago
  3. c89fc1b SLING-12094 - Use GitHub for the Maven scm.url value by Robert Munteanu · 1 year, 11 months ago
  4. 40d99f6 SLING-11709 - Set up Jira autolinks to all Sling Github projects by Robert Munteanu · 2 years, 5 months ago
  5. 06d60e9 SLING-10676 - remove SECURITY.md which is not needed by Bertrand Delacretaz · 4 years, 1 month ago

Apache Sling

Build Status Test Status Coverage Sonarcloud Status License

Apache Sling Commons JCR File

This module is part of the Apache Sling project.

This module provides a basic NIO.2 file system implementation for JCR.

JCR File System Properties

Property Name (of Type java.lang.String)Allowed ValuesProperty Description
javax.jcr.Sessiona valid (live) SessionSession which is used to access (read/write) the JCR

Limitations

  • Getting an existing FileSystem or Path via URI (FileSystemProvider#getFileSystem(URI):FileSystem) is not supported due to underlying JCR Sessions from environments (env).
  • Getting total space, free space and usable space always returns Long.MAX_VALUE

Notes

  • Most classes in this module log errors and throw exceptions afterwards due to the sparingly used logging in MINA's SFTP subsystem.