in src/main/java/org/apache/sling/fsprovider/internal/mapper/FileResourceMapper.java [68:93]
public FileResourceMapper(
String providerRoot,
File providerFile,
ContentFileExtensions contentFileExtensions,
ContentFileCache contentFileCache,
FileStatCache fileStatCache,
final boolean overlayParentResourceProvider,
final boolean createContentFileMapper) {
this.providerRoot = providerRoot;
this.providerRootPrefix = providerRoot.concat("/");
this.providerFile = providerFile;
this.contentFileExtensions = contentFileExtensions;
this.contentFileCache = contentFileCache;
this.fileStatCache = fileStatCache;
this.overlayParentResourceProvider = overlayParentResourceProvider;
if (contentFileExtensions != null && createContentFileMapper) {
this.contentFileMapper = new ContentFileResourceMapper(
this.providerRoot,
this.providerFile,
contentFileExtensions,
this.contentFileCache,
this.fileStatCache);
} else {
this.contentFileMapper = null;
}
}