Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andrewbaxter/sunwet
/ functions
Functions
700 in github.com/andrewbaxter/sunwet
⨍
Functions
700
◇
Types & classes
345
↓ 1,325 callers
Method
clone
(&self)
source/wasm/src/websocket.rs:43
↓ 263 callers
Function
uniq
@type {(...args: string[]) => string}
source/wasm/static/style.js:45
↓ 237 callers
Function
ss
@type {( id: string, f: { [s: string]: (r: CSSStyleDeclaration) => void } ) => string}
source/wasm/static/style.js:167
↓ 235 callers
Function
e
@type { <N extends keyof HTMLElementTagNameMap>( name: N, args: Partial<HTMLElementTagNameMap[N]>, args2: { styles_?: st
source/wasm/static/style.js:64
↓ 193 callers
Method
to_string
(&self)
source/shared/src/stringpattern.rs:96
↓ 175 callers
Function
state
()
source/wasm/src/bin/libnonlink/state.rs:114
↓ 161 callers
Method
get
(&self)
source/wasm/src/async_.rs:46
↓ 119 callers
Method
set
(&self, v: Option<T>)
source/wasm/src/async_.rs:25
↓ 106 callers
Method
log
(&self, x: &str)
source/shared-wasm/src/log.rs:65
↓ 82 callers
Method
join
(&self, segs: Vec<String>)
source/shared-wasm/src/opfs.rs:67
↓ 77 callers
Function
s
(value: impl AsRef<str>)
source/native/src/server/query_test.rs:74
↓ 60 callers
Method
upgrade
(&self)
source/wasm/src/bin/libnonlink/playlist.rs:221
↓ 39 callers
Function
colref
(table: DynIden, col: DynIden)
source/native/src/server/query.rs:168
↓ 35 callers
Function
compileQueryHeadTail
( headPath: string, tailPath: string, sort?: sortquery.SortQuery, )
source/default_config.ts:40
↓ 35 callers
Method
weak
(&self)
source/wasm/src/bin/libnonlink/playlist.rs:203
↓ 30 callers
Method
into
(self)
source/shared/src/interface/wire/mod.rs:90
↓ 24 callers
Function
node_node
(v: &Node)
source/native/src/client/media_import/mod.rs:207
↓ 24 callers
Function
vs
@type {(id:String, light: string, dark: string) => string}
source/wasm/static/style.js:150
↓ 23 callers
Function
leafIcon
@type {(args: {text: string, fontSize?: string, extraStyles?: string[]})=>HTMLElement}
source/wasm/static/style.js:648
↓ 22 callers
Function
req_post_json
(req: T)
source/wasm/src/bin/libnonlink/api.rs:85
↓ 20 callers
Function
triple
(sub: &CliNode, pred: &str, obj: &CliNode)
source/native/src/client/media_import/mod.rs:218
↓ 19 callers
Function
buildRoot
@type {(e: HTMLElement[])=>void}
source/wasm/static/style_test.js:420
↓ 18 callers
Function
write_triple
( conn: &mut db::Db<C>, subject: &DbNode, predicate: &str, object: &DbNode, commit_: DateT
source/native/src/server/dbwrite.rs:13
↓ 17 callers
Function
compile_query
(query: &str)
source/shared/src/query_parser.rs:307
↓ 17 callers
Function
select
()
source/wasm/static/style.js:5593
↓ 17 callers
Method
send
(&self, data: S)
source/wasm/src/websocket.rs:175
↓ 16 callers
Function
tx
(pool: &Pool, cb: F)
source/native/src/server/dbutil.rs:20
↓ 15 callers
Function
con
(o)
source/wasm/static/style.js:3113
↓ 15 callers
Method
log_js
(&self, x: &str, v: &JsValue)
source/shared-wasm/src/log.rs:73
↓ 15 callers
Function
ministate_octothorpe
(s: &Ministate)
source/wasm/src/bin/libnonlink/ministate.rs:142
↓ 15 callers
Function
req_simple
(log: &Log, req0: T)
source/native/src/client/req.rs:62
↓ 14 callers
Function
leafButtonFree
@type { (args: { icon: string, hint: string, extraStyles?: string[] }) => { root: HTMLElement } }
source/wasm/static/style.js:4820
↓ 14 callers
Function
node_to_text
(node: &Node)
source/shared/src/stringpattern.rs:9
↓ 13 callers
Method
get_file
(&self, mut segs: Vec<String>)
source/shared-wasm/src/opfs.rs:123
↓ 13 callers
Method
observe
(&self, e: &Element)
source/wasm/src/js.rs:130
↓ 13 callers
Function
opfs_root
()
source/shared-wasm/src/opfs.rs:358
↓ 12 callers
Method
ensure_dir
(&self, segs: Vec<String>)
source/shared-wasm/src/opfs.rs:104
↓ 12 callers
Function
generated_file_url
(env: &Env, hash: &FileHash, gentype: &str, subpath: &str)
source/wasm/src/world.rs:6
↓ 12 callers
Function
migrate
(versions: &mut DbVersions<C>)
source/native/src/server/migrate.rs:9
↓ 12 callers
Method
respond
(&self)
source/native/src/server/mod.rs:457
↓ 12 callers
Function
set_page
(pc: &mut ProcessingContext, title: &str, body: El)
source/wasm/src/bin/libnonlink/state.rs:118
↓ 12 callers
Method
weak
(&self)
source/wasm/src/websocket.rs:49
↓ 11 callers
Function
buildLeafButton
(args)
source/wasm/static/style.js:944
↓ 11 callers
Method
eq
(&self, other: &Type)
source/wasm/build.rs:34
↓ 11 callers
Function
file_url
(env: &Env, hash: &FileHash)
source/wasm/src/world.rs:15
↓ 11 callers
Method
from
(pattern: &'a str)
source/shared/src/stringpattern.rs:51
↓ 11 callers
Function
leafButtonFreeLink
@type { (args: { icon: string, hint: string, url: string, download?: boolean }) => { root: HTMLElement } }
source/wasm/static/style.js:4833
↓ 11 callers
Function
playlist_clear
(pc: &mut ProcessingContext, state: &PlaylistState, shuffle: bool, track_end_mode: TrackEndMode)
source/wasm/src/bin/libnonlink/playlist.rs:845
↓ 10 callers
Function
el_async
(f: F)
source/wasm/src/js.rs:433
↓ 10 callers
Function
get_global_config
(state: &State)
source/native/src/server/state.rs:351
↓ 10 callers
Method
html
(&self)
source/wasm/src/js.rs:523
↓ 10 callers
Method
update
(&self, field: &str, value: CommitNode)
source/wasm/src/bin/libnonlink/page_form.rs:83
↓ 9 callers
Function
buildLotsOfTracks
@type { (n: number) => HTMLElement[][] }
source/wasm/static/style_test.js:114
↓ 9 callers
Function
buildStagingPageViewElementTextTracks
(tracks)
source/wasm/static/style_test.js:162
↓ 9 callers
Function
maybe_get_field
(config_at: &String, data_stack: &Vec<Rc<DataStackLevel>>)
source/wasm/src/bin/libnonlink/viewutil.rs:41
↓ 9 callers
Function
node_is_album
()
source/native/src/server/defaultviews.rs:9
↓ 9 callers
Function
on_thinking
(e: &El, f: impl 'static + Clone + AsyncFn() -> ())
source/wasm/src/js.rs:574
↓ 9 callers
Function
update_button_state
(button: &HtmlButtonElement, existence: Existence, error: ErrorState)
source/browser/src/lib.rs:90
↓ 8 callers
Function
compileQuery
(path: string)
source/default_config.ts:69
↓ 8 callers
Function
default_
()
source/wasm/src/bin/libnonlink/page_form.rs:355
↓ 8 callers
Function
download_colocate_mime
(parent: &OpfsDir, seg: &str, url: String)
source/wasm/src/bin/libnonlink/offline.rs:265
↓ 8 callers
Method
ensure_file
(&self, mut segs: Vec<String>)
source/shared-wasm/src/opfs.rs:138
↓ 8 callers
Method
exists
(&self, log: &Rc<dyn Log>, seg: &str)
source/shared-wasm/src/opfs.rs:199
↓ 8 callers
Function
maybe_get_field_or_literal
( config_at: &FieldOrLiteral, data_stack: &Vec<Rc<DataStackLevel>>, )
source/wasm/src/bin/libnonlink/viewutil.rs:57
↓ 8 callers
Function
media_fn
# Media control
source/wasm/src/bin/libnonlink/playlist.rs:307
↓ 8 callers
Function
tableref
(table: DynIden)
source/native/src/server/query.rs:172
↓ 8 callers
Function
viewTransStyle
@type { (args:{parentOrientation: Orientation, parentOrientationType: OrientationType2, transAlign: TransAlign})=>string }
source/wasm/static/style.js:3447
↓ 7 callers
Method
cmp
(&self, other: &Self)
source/shared/src/interface/triple.rs:151
↓ 7 callers
Function
el_async_
(in_root: bool, f: F)
source/wasm/src/js.rs:437
↓ 7 callers
Method
get_dir
(&self, segs: Vec<String>)
source/shared-wasm/src/opfs.rs:89
↓ 7 callers
Method
list
(&self, log: &Rc<dyn Log>)
source/shared-wasm/src/opfs.rs:157
↓ 7 callers
Function
setup_node_button
(eg: &EventGraph, out: &El, name: String, node: Node)
source/wasm/src/bin/libnonlink/node_button.rs:204
↓ 7 callers
Function
soft_read_dir
(log: &Log, d: &Path, mut f: F)
source/native/src/server/fsutil.rs:42
↓ 7 callers
Function
widgetNodeLink
( nameField: string, nodeField: string, )
source/default_config.ts:75
↓ 6 callers
Function
build_root_chain
( query: &Query, parameters: HashMap<String, Node>, )
source/native/src/server/query.rs:952
↓ 6 callers
Method
build_widget
( &mut self, eg: &EventGraph, bctx: BuildContext, config_at: &Widget,
source/wasm/src/bin/libnonlink/page_view.rs:1128
↓ 6 callers
Function
create_capture_button
( lookup_id: String, view_query: String, callback: Function, )
source/browser/src/lib.rs:231
↓ 6 callers
Function
create_dirs
(path: &Path)
source/native/src/server/fsutil.rs:21
↓ 6 callers
Function
execute_sql_query
( db: &mut crate::server::db::Db<&mut rusqlite::Transaction<'_>>, sql_query: String, sql_parameter
source/native/src/server/query.rs:1045
↓ 6 callers
Function
extract_playlist_entries_from_page
( config_at: &Widget, data_id: &Vec<usize>, data_stack: &Vec<Rc<DataStackLevel>>, out: &mut Ve
source/wasm/src/bin/libnonlink/page_view.rs:1191
↓ 6 callers
Function
genfile_path
( state: &Arc<State>, hash: &FileHash, gentype: &str, subpath: &str, )
source/native/src/server/filesutil.rs:63
↓ 6 callers
Function
gentype_transcode
(mime: &str)
source/shared/src/interface/wire/mod.rs:472
↓ 6 callers
Function
getOriginalImageUrl
(url)
source/browser/ext_static/site_twitter.js:41
↓ 6 callers
Function
get_iam_grants
(state: &State, identity: &Identity)
source/native/src/server/state.rs:475
↓ 6 callers
Function
hist_list_all
(db: &mut db::Db<impl SqliteConnection>)
source/native/src/server/dbutil.rs:706
↓ 6 callers
Function
leafButton
@type { (args: { title: string, icon?: string, text?: string, rootStyles: string[], innerStyles?: string[] }) => { root: HTMLElement } }
source/wasm/static/style.js:965
↓ 6 callers
Function
makeRelRow
(predValue, nodeValue, isNew)
source/wasm/static/style_test.js:296
↓ 6 callers
Function
new_rel_state
(pc: &mut ProcessingContext, args: RelStateArgs)
source/wasm/src/bin/libnonlink/node_edit.rs:442
↓ 6 callers
Function
node_value_str
(v: &str)
source/native/src/client/media_import/mod.rs:203
↓ 6 callers
Function
record_replace_ministate
Replaces current state in history, no page change
source/wasm/src/bin/libnonlink/ministate.rs:171
↓ 6 callers
Method
seek_next
(&self, pc: &mut ProcessingContext)
source/wasm/src/media.rs:722
↓ 6 callers
Method
seek_prev
(&self, pc: &mut ProcessingContext)
source/wasm/src/media.rs:746
↓ 6 callers
Method
to_string
(&self)
source/shared/src/interface/triple.rs:37
↓ 6 callers
Function
trans
(o)
source/wasm/static/style.js:3131
↓ 6 callers
Function
v
@type {(id: string, v: string) => string}
source/wasm/static/style.js:144
↓ 6 callers
Method
write_json
(&self, data: &T)
source/shared-wasm/src/opfs.rs:322
↓ 5 callers
Function
buildToolbar
@type { (download:boolean, center: boolean)=>HTMLElement}
source/wasm/static/style_test.js:831
↓ 5 callers
Function
check_is_admin
(state: &State, identity: &Identity, context: &str)
source/native/src/server/access.rs:132
↓ 5 callers
Function
commit_generated
( state: &Arc<State>, file: FileHash, gentype: &str, mimetype: &str, temp_path: &Path,
source/native/src/server/subsystems/background.rs:134
↓ 5 callers
Function
copy
(log: &Rc<dyn Log>, data: impl serde::Serialize)
source/wasm/src/js.rs:541
next →
1–100 of 700, ranked by callers