Skip to content

Commit 22d0e1a

Browse files
ModuleEditorService.getModuleRoot() (#7816)
## Rationale Make ModuleEditorService.getUpdatableResourcesRoot() return the path used to resolve module resources. getModuleRoot() returns the module source root (potentially parent of getUpdatableResourcesRoot()) ## Related Pull Requests - <!-- list of links to related pull requests (replace this comment) --> ## Changes - <!-- list of descriptions of changes that are worth noting (replace this comment) --> <!-- list of standard tasks (remove this comment to enable) ## Tasks 📍 - [ ] Claude Code Review - [ ] Manual Testing - [ ] Test Automation - [ ] Verify Fix --> ## Related Pull Requests - <!-- list of links to related pull requests (replace this comment) --> ## Changes - <!-- list of descriptions of changes that are worth noting (replace this comment) --> <!-- list of standard tasks (remove this comment to enable) ## Tasks 📍 - [ ] Claude Code Review - [ ] Manual Testing - [ ] Test Automation - [ ] Verify Fix -->
1 parent 03b7256 commit 22d0e1a

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

api/src/org/labkey/api/moduleeditor/api/ModuleEditorService.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,11 @@ default File getFileForModuleResource(Module module, Path path)
6666
return null;
6767
return FileUtil.appendPath(resources, path);
6868
}
69+
70+
// used by ModuleResourceProvider@AllModuleResourcesRoot() (_webdav/@modules) which wants to soo
71+
// the whole module source directory (e.g. when using SourcePath)
72+
default File getModuleRoot(Module module, @Nullable List<String> messages)
73+
{
74+
return null;
75+
}
6976
}

0 commit comments

Comments
 (0)