mirror of
https://github.com/Dasemu/Synapse.git
synced 2026-11-26 23:36:20 +00:00
feat(core): hubs, tag pages and types, with ffi, history and import support
Hubs and templates are page kinds; tags are pages of kind tag linked by a TAGGED edge; types are plain names on the page. Schema v5. Snapshots carry synapse-kind/tags/types. Also adapts search, import and server tests. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
91a8276966
commit
b800248d67
35 files changed
+7983
-141
No files matched your search
@@ -126,7 +126,7 @@ fn scan_line(line: &str, is_prop: bool, refs: &mut Refs) {
|
||||
}
|
||||
|
||||
/// Finds the `]]` closing a `[[` that opened before `from`, allowing nested `[[..]]`.
|
||||
fn find_close(s: &str, from: usize) -> Option<usize> {
|
||||
pub(crate) fn find_close(s: &str, from: usize) -> Option<usize> {
|
||||
let mut depth = 0;
|
||||
let mut i = from;
|
||||
while i + 1 < s.len() {
|
||||
|
||||
Reference in new issue
Block a user