wangxuefen88
wangxuefen88
Calling edit_file with an empty old_string never returns. Reproduction: filesystem.edit(runtimeContext, "/notes.md", "", "replacement", false); The loop in FilesystemUtils.countOccurrences() calls indexOf("", idx). Because the empty string has length 0, idx never...
RemoteFilesystem.uploadFiles accepts byte[] but converts every payload to a UTF-8 String first. new String(byte[], StandardCharsets.UTF_8) replaces malformed byte sequences instead of throwing, so the Base64 fallback is not effective. Downloading...
OverlayFilesystem documents that upper entries override lower entries on path collision, but grep merges results by path and line number only. When an upper-layer file exists at the same path...