MCPcopy Index your code

hub / github.com/everydaythingssoftware/citadel / functions

Functions948 in github.com/everydaythingssoftware/citadel

↓ 100 callersMethodadd_book
(&mut self, book: BookAdd)
crates/libcalibre/src/library.rs:230
↓ 96 callersFunctionsetup_with_library
Setup a fresh empty Calibre library in a temporary directory with Library
crates/libcalibre/tests/common/helpers.rs:8
↓ 63 callersMethodeq
(&self, other: &Self)
crates/libcalibre/src/mime_type.rs:64
↓ 54 callersFunctioncolumn
(overrides: Partial<CustomColumnDef>)
src/lib/custom-columns.test.ts:25
↓ 49 callersFunctionget
( conn: &mut SqliteConnection, book_id: BookId, )
crates/libcalibre/src/queries/books.rs:19
↓ 41 callersMethodset_custom_value
Set (or clear, with `None`) one book's value for a custom column. The value must match the column's datatype.
crates/libcalibre/src/library.rs:708
↓ 40 callersFunctionbook
(title: &str, author_names: &[&str])
crates/libcalibre/tests/query_test.rs:13
↓ 34 callersFunctiondtoFromFieldValue
( column: CustomColumnDef, value: CustomFieldValue, )
src/lib/custom-columns.ts:171
↓ 29 callersMethodcreate_custom_column
Create a custom column, including its value tables, indexes, triggers, and views, exactly as Calibre would.
crates/libcalibre/src/library.rs:668
↓ 29 callersFunctionspec
(label: &str, kind: CustomColumnKind)
crates/libcalibre/tests/custom_columns_test.rs:8
↓ 26 callersFunctionempty_book
(title: &str)
crates/libcalibre/tests/books_api_test.rs:11
↓ 26 callersMethodfirst
(&self, code: u8)
src-tauri/src/metadata/marcxml.rs:18
↓ 25 callersFunctionadd_book
(lib: &mut Library)
crates/libcalibre/tests/custom_columns_test.rs:19
↓ 25 callersFunctionquery
(lib: &mut Library, q: BookQuery)
crates/libcalibre/tests/query_test.rs:30
↓ 24 callersFunctionbook
(id: string, extra: Partial<LibraryBook> = {})
src/lib/book-page-cache.test.ts:18
↓ 23 callersFunctionmakeEvent
( overrides: Partial<KeymapDispatchEventLike> = {}, )
src/lib/keymap.test.ts:12
↓ 23 callersFunctionmoveSelection
({ index, count, columns, direction, }: MoveSelectionOptions)
src/lib/keymap.ts:96
↓ 23 callersFunctionnormalizeIsbn
(raw: string)
src/lib/isbn.ts:1
↓ 20 callersMethodupdate_book
( &mut self, book_id: BookId, update: BookUpdate, )
crates/libcalibre/src/library.rs:399
↓ 19 callersMethodas_str
(&self)
crates/libcalibre/src/mime_type.rs:13
↓ 19 callersMethodwith_library
Execute a function with mutable access to the library
src-tauri/src/state.rs:35
↓ 18 callersFunctionempty_update
()
crates/libcalibre/tests/books_api_test.rs:28
↓ 18 callersFunctionfilter
(overrides: Partial<BookGridFilter> = {})
src/lib/book-page-cache.test.ts:36
↓ 18 callersMethodmax
(&self)
crates/libcalibre/examples/bench_library_queries.rs:102
↓ 17 callersFunctionfieldValueFromDto
( column: CustomColumnDef, value: CustomValueDto | null, )
src/lib/custom-columns.ts:53
↓ 16 callersMethodget_book
(&mut self, book_id: BookId)
crates/libcalibre/src/library.rs:393
↓ 15 callersFunctionemptyBookCache
( key: string, generation: number, )
src/lib/book-page-cache.ts:125
↓ 15 callersFunctioneventMatchesChord
( event: KeymapEventLike, chord: string, )
src/lib/keymap.ts:38
↓ 14 callersFunctionbook_with_authors
(title: &str, author_names: &[&str])
crates/libcalibre/tests/search_test.rs:10
↓ 14 callersFunctioncreate
(conn: &mut SqliteConnection, new_tag: NewTag)
crates/libcalibre/src/queries/tags.rs:43
↓ 14 callersFunctiondiffCustomValues
( columns: CustomColumnDef[], before: Record<string, CustomFieldValue>, after: Record<string, CustomFieldVa
src/lib/custom-columns.ts:279
↓ 14 callersFunctionimportStore
(manager: SettingsManager)
src/stores/settings/store.test.ts:70
↓ 13 callersMethodmin
(&self)
crates/libcalibre/examples/bench_library_queries.rs:88
↓ 13 callersFunctionsafeAsyncEventHandler
( f: (...args: unknown[]) => Promise<unknown>, )
src/lib/async.ts:6
↓ 13 callersFunctionserializeBookFilter
(filter: BookGridFilter)
src/lib/book-page-cache.ts:54
↓ 12 callersFunctionapplyBookPage
( cache: PagedBookCache, fetched: FetchedBookPage, )
src/lib/book-page-cache.ts:169
↓ 12 callersFunctionbook
( provider: MetadataProvider, overrides: Partial<BookMetadata> = {}, )
src/lib/metadata-providers/aggregate.test.ts:5
↓ 12 callersFunctioncreateFakeSettingsManager
()
src/stores/settings/store.test.ts:22
↓ 12 callersFunctionestablish_connection
(db_path: &str)
crates/libcalibre/src/persistence.rs:87
↓ 12 callersFunctionpersistSetting
( set: (partial: Partial<SettingsStore>) => void, get: () => SettingsStore, key: K, value: SettingsValue<K
src/stores/settings/store.ts:69
↓ 12 callersMethodset_book_read_state
( &mut self, book_id: BookId, is_read: bool, )
crates/libcalibre/src/library.rs:759
↓ 11 callersMethoddatafields
(&'a self, tag: &'a str)
src-tauri/src/metadata/marcxml.rs:39
↓ 11 callersFunctionisEditableTarget
( target: EditableTargetLike | null | undefined, )
src/lib/keymap.ts:54
↓ 11 callersFunctionpagesCoveringRange
( start: number, end: number, pageSize: number = BOOK_PAGE_SIZE, total: number | null = null, )
src/lib/book-page-cache.ts:91
↓ 10 callersFunctionadvanceSnapshot
( cache: PagedBookCache, current: BookSnapshot | null, )
src/lib/book-page-cache.ts:201
↓ 10 callersFunctioncreateKeymapHandler
(bindings: KeyBinding[])
src/lib/keymap.ts:71
↓ 10 callersFunctionget
( conn: &mut SqliteConnection, author_id: AuthorId, )
crates/libcalibre/src/operations/authors.rs:94
↓ 10 callersFunctionimportStore
(storage: FakeLocalStorage)
src/stores/library-view/store.test.ts:26
↓ 10 callersFunctiontoBookQuery
( filter: BookGridFilter, pageIndex: number, pageSize: number = BOOK_PAGE_SIZE, )
src/lib/book-page-cache.ts:72
↓ 9 callersMethodadd_author
(&mut self, author: AuthorAdd)
crates/libcalibre/src/library.rs:570
↓ 9 callersFunctioncreateFakeLocalStorage
()
src/stores/library-view/store.test.ts:6
↓ 9 callersFunctiondelete
(conn: &mut SqliteConnection, book_id: BookId)
crates/libcalibre/src/queries/books.rs:274
↓ 9 callersFunctiongetDescriptor
(id: ProviderId)
src/lib/metadata-providers/registry.ts:148
↓ 9 callersFunctionrowSlice
( row: number, columns: number, itemCount: number, )
src/lib/grid-virtual.ts:50
↓ 9 callersMethodsearch_books
(&mut self, query: &str)
crates/libcalibre/src/library.rs:854
↓ 8 callersFunctioncomputeColumnCount
({ availableWidth, minColumnWidth, columnGap, }: ColumnMetrics)
src/lib/grid-virtual.ts:21
↓ 8 callersFunctionformatSeriesIndex
(seriesIndex: number)
src/lib/series.ts:12
↓ 8 callersFunctionrowOfIndex
(index: number, columns: number)
src/lib/grid-virtual.ts:39
↓ 8 callersFunctiontagListChanged
( current: readonly string[], next: readonly string[] | null, )
src/lib/domain/tag.ts:12
↓ 8 callersFunctionusePlatform
()
src/lib/platform/context.ts:8
↓ 7 callersMethodauthor_book_counts
Linked-book count per author, computed in one GROUP BY pass over `books_authors_link` (no per-author scans). Authors with no linked books are absent f
crates/libcalibre/src/library.rs:582
↓ 7 callersFunctionbench
(name: &str, runs: usize, warmup: usize, mut scenario: F)
crates/libcalibre/examples/bench_library_queries.rs:107
↓ 7 callersMethodbooks
(&mut self)
crates/libcalibre/src/library.rs:380
↓ 7 callersFunctionensure_thumbnails
Returns fresh thumbnails for every source whose cover exists and decodes, generating any that are missing or stale (cover mtime moved). Books whose co
src-tauri/src/libs/cover_thumbs.rs:149
↓ 7 callersFunctionmergeResults
( books: BookMetadata[], order: ProviderId[], pinIsbn: string | null, )
src/lib/metadata-providers/aggregate.ts:25
↓ 7 callersFunctionparseChord
(chord: string)
src/lib/keymap.ts:26
↓ 7 callersFunctionparse_envelope
Parse an SRU `searchRetrieveResponse` envelope into zero or more book records. A zero-record response (or one carrying only diagnostics) yields an emp
src-tauri/src/metadata/marcxml.rs:48
↓ 7 callersFunctionraw_conn
Open a second, raw connection to the library's metadata.db.
crates/libcalibre/tests/custom_columns_test.rs:24
↓ 6 callersFunctionasset_path
(library_root: &String, book_path: &str, filename: &str)
crates/libcalibre/src/assets/mod.rs:17
↓ 6 callersMethodauthors
(&mut self)
crates/libcalibre/src/library.rs:575
↓ 6 callersFunctionchordForShelf
(index: number)
src/lib/shelves.ts:15
↓ 6 callersFunctioncomputeRowCount
(itemCount: number, columns: number)
src/lib/grid-virtual.ts:33
↓ 6 callersFunctioncreate_if_not_exists
( conn: &mut SqliteConnection, tag_name: &str, )
crates/libcalibre/src/queries/tags.rs:53
↓ 6 callersMethodcustom_columns
All custom columns in the library, excluding columns marked for deletion.
crates/libcalibre/src/library.rs:662
↓ 6 callersFunctionempty_book
(title: &str)
crates/libcalibre/tests/cover_sources_test.rs:8
↓ 6 callersFunctionget_db_path
For a given library root root directory, return the path to the SQLite database if the file is accessible.
crates/libcalibre/src/util.rs:11
↓ 6 callersMethodget_library_path
Get the current library path
src-tauri/src/state.rs:47
↓ 6 callersFunctionlink_book
( conn: &mut SqliteConnection, tag_id: i32, book_id: BookId, )
crates/libcalibre/src/queries/tags.rs:83
↓ 6 callersFunctionpersist
(state: LibraryViewState)
src/stores/library-view/store.ts:70
↓ 6 callersMethodquery_books
Run a paged, sorted, filtered book query. Returns one page of hydrated books plus the total match count (ignoring limit/offset).
crates/libcalibre/src/library.rs:807
↓ 6 callersMethodset_book_cover
( &mut self, book_id: BookId, cover_data: Vec<u8>, )
crates/libcalibre/src/library.rs:484
↓ 6 callersFunctionsome
(value: T)
src/lib/option.ts:1
↓ 6 callersFunctionsparseBookItems
( cache: PagedBookCache, pageSize: number = BOOK_PAGE_SIZE, )
src/lib/book-page-cache.ts:213
↓ 6 callersMethodupsert_book_identifier
( &mut self, book_id: BookId, label: String, value: String, existing_i
crates/libcalibre/src/library.rs:607
↓ 6 callersFunctionwrite
(path: &Path, data: &[u8])
crates/libcalibre/src/assets/mod.rs:13
↓ 5 callersFunctionclear_value
( conn: &mut SqliteConnection, column: &CustomColumn, book_id: BookId, )
crates/libcalibre/src/custom_columns.rs:855
↓ 5 callersFunctioncodeForLanguageName
(name: string)
src/lib/languages.ts:69
↓ 5 callersFunctionexplain
(conn: &mut SqliteConnection, label: &str, sql: &str, text_binds: usize)
crates/libcalibre/examples/bench_library_queries.rs:219
↓ 5 callersFunctionfind_authors
( conn: &mut SqliteConnection, book_id: BookId, )
crates/libcalibre/src/queries/books.rs:287
↓ 5 callersFunctiongetSystemDarkQuery
()
src/lib/theme-manager.ts:11
↓ 5 callersFunctionloaded
()
src/lib/book-page-cache.test.ts:157
↓ 5 callersFunctionloadedCache
()
src/lib/book-page-cache.test.ts:270
↓ 5 callersFunctionmakeAdapter
(descriptor: ProviderDescriptor)
src/lib/metadata-providers/registry.ts:115
↓ 5 callersFunctionmigrateSettings
(raw: SettingsSchema)
src/lib/platform/settings/migrate.ts:62
↓ 5 callersFunctionnormalize_isbn
Normalize a raw ISBN string into a compact, validated form (13 digits, or 10 digits with an optional trailing `X`). Returns `None` if the input is not
src-tauri/src/metadata/model.rs:98
↓ 5 callersFunctionresolveCoverLoad
(img: ImageNaturalSize)
src/lib/cover-load.ts:24
↓ 5 callersFunctionsearch
Search an SRU endpoint. When `isbn` is given the CQL targets the endpoint's ISBN index and the results are filtered to records whose `020$a` actually
src-tauri/src/metadata/sru.rs:9
↓ 5 callersFunctionsortedTagNames
(tags: Pick<LibraryTag, "name">[])
src/lib/domain/tag.ts:4
↓ 5 callersFunctionunlink_book
( conn: &mut SqliteConnection, tag_id_value: i32, book_id: BookId, )
crates/libcalibre/src/queries/tags.rs:98
↓ 5 callersFunctionupdate
( conn: &mut SqliteConnection, book_id: BookId, update: UpdateBookData, )
crates/libcalibre/src/queries/books.rs:261
next →1–100 of 948, ranked by callers