Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/amethyst/distill
/ functions
Functions
852 in github.com/amethyst/distill
⨍
Functions
852
◇
Types & classes
232
↓ 155 callers
Method
get
( &self, txn: &'a V, hash: u64, )
daemon/src/artifact_cache.rs:65
↓ 119 callers
Method
clone
(&self)
loader/src/handle.rs:96
↓ 66 callers
Method
into_reader
(self)
schema/src/schemas/service_capnp.rs:152
↓ 59 callers
Method
as_ref
(&self)
core/src/lib.rs:53
↓ 54 callers
Method
reborrow
(&self)
schema/src/schemas/data_capnp.rs:62
↓ 51 callers
Method
insert
(&mut self, ext: &[&str], importer: Box<dyn BoxedImporter>)
daemon/src/daemon.rs:30
↓ 46 callers
Method
get_id
(self)
schema/src/schemas/data_capnp.rs:71
↓ 46 callers
Method
into_reader
(self)
schema/src/schemas/data_capnp.rs:140
↓ 43 callers
Method
send
(self, value: T)
core/src/distill_signal.rs:56
↓ 33 callers
Method
imbue
(&mut self, cap_table: &'a ::capnp::private::layout::CapTable)
schema/src/schemas/service_capnp.rs:55
↓ 23 callers
Method
get_assets
( self, )
schema/src/schemas/data_capnp.rs:1991
↓ 23 callers
Method
imbue
(&mut self, cap_table: &'a ::capnp::private::layout::CapTable)
schema/src/schemas/data_capnp.rs:55
↓ 20 callers
Function
canonicalize_path
(path: &Path)
core/src/utils.rs:61
↓ 20 callers
Method
put
( &mut self, db: lmdb::Database, key: &K, value: &capnp::message::Builder<V>,
daemon/src/capnp_db.rs:165
↓ 20 callers
Method
set_data
(&mut self, value: ::capnp::data::Reader<'_>)
schema/src/schemas/data_capnp.rs:4249
↓ 19 callers
Method
init_data
(self, size: u32)
schema/src/schemas/data_capnp.rs:4254
↓ 18 callers
Method
set_id
(&mut self, value: ::capnp::data::Reader<'_>)
schema/src/schemas/data_capnp.rs:165
↓ 17 callers
Function
expect_event
(rx: &mut UnboundedReceiver<FileTrackerEvent>)
daemon/src/file_tracker.rs:889
↓ 16 callers
Method
expect_uuid
(&self)
core/src/lib.rs:185
↓ 16 callers
Function
make_array
(slice: &[T])
cli/src/lib.rs:33
↓ 15 callers
Method
init_assets
( self, size: u32, )
schema/src/schemas/data_capnp.rs:2236
↓ 13 callers
Method
create_db
( &self, name: Option<&str>, flags: lmdb::DatabaseFlags, )
daemon/src/capnp_db.rs:280
↓ 13 callers
Function
expect_dirty_file_state
(t: &FileTracker, asset_dir: &Path, name: &str)
daemon/src/file_tracker.rs:988
↓ 13 callers
Function
uuid_from_slice
(slice: &[u8])
core/src/utils.rs:23
↓ 12 callers
Method
delete
(&mut self, db: lmdb::Database, key: &K)
daemon/src/capnp_db.rs:205
↓ 12 callers
Method
open_ro_cursor
(&'a self, db: lmdb::Database)
daemon/src/capnp_db.rs:97
↓ 12 callers
Method
uuid
(&self)
core/src/lib.rs:266
↓ 11 callers
Function
expect_file_state
(t: &FileTracker, asset_dir: &Path, name: &str)
daemon/src/file_tracker.rs:907
↓ 11 callers
Function
expect_no_event
(rx: &mut UnboundedReceiver<FileTrackerEvent>)
daemon/src/file_tracker.rs:882
↓ 11 callers
Method
next
(&mut self)
daemon/src/capnp_db.rs:78
↓ 11 callers
Method
path
(&self)
loader/src/storage.rs:248
↓ 10 callers
Method
get_source_metadata
( &self, txn: &'a V, path: &Path, )
daemon/src/file_asset_source.rs:376
↓ 10 callers
Method
load_handle
Returns the `LoadHandle` associated with the load operation
loader/src/storage.rs:60
↓ 10 callers
Method
try_recv
(&mut self)
core/src/distill_signal.rs:23
↓ 10 callers
Method
which
(self)
schema/src/schemas/data_capnp.rs:282
↓ 9 callers
Method
as_mut
(&mut self)
core/src/lib.rs:47
↓ 9 callers
Method
complete
(mut self, data: Vec<u8>)
loader/src/io.rs:40
↓ 9 callers
Method
get
(&self, handle: &T)
examples/handle_integration/src/storage.rs:60
↓ 9 callers
Method
hash
(&self, state: &mut H)
loader/src/handle.rs:71
↓ 9 callers
Method
init_data
(self, size: u32)
schema/src/schemas/service_capnp.rs:670
↓ 9 callers
Method
is_indirect
Returns true if the handle needs to be resolved through the [`IndirectionTable`] before use. An "indirect" LoadHandle represents a load operation for
loader/src/storage.rs:27
↓ 9 callers
Method
is_uuid
(&self)
core/src/lib.rs:197
↓ 9 callers
Method
rw_txn
(&self)
daemon/src/capnp_db.rs:288
↓ 9 callers
Method
set_data
(&mut self, value: ::capnp::data::Reader<'_>)
schema/src/schemas/service_capnp.rs:665
↓ 9 callers
Method
txn
(&self)
daemon/src/asset_hub_service.rs:62
↓ 8 callers
Method
any
(&self)
importer/src/serde_obj.rs:12
↓ 8 callers
Method
capnp_iter_start
(mut self)
daemon/src/capnp_db.rs:52
↓ 8 callers
Method
commit
(self)
daemon/src/capnp_db.rs:235
↓ 8 callers
Method
ctx
(&self)
daemon/src/asset_hub_service.rs:66
↓ 8 callers
Method
get_latest_artifact
( self, )
schema/src/schemas/data_capnp.rs:3483
↓ 8 callers
Method
resolve
( &self, id: &IndirectIdentifier, candidates: Vec<(PathBuf, Vec<AssetMetadata>)>,
loader/src/storage.rs:277
↓ 8 callers
Function
with_tracker
(f: F)
daemon/src/file_tracker.rs:847
↓ 7 callers
Method
add_ref
Adds a reference to an asset and returns its [`LoadHandle`]. If the asset is already loaded, this returns the existing [`LoadHandle`]. If it is not l
loader/src/loader.rs:1104
↓ 7 callers
Function
create
( hash: u64, id: AssetUuid, build_deps: Vec<AssetRef>, load_deps: Vec<AssetRef>, value: &d
daemon/src/serialized_asset.rs:6
↓ 7 callers
Method
description
(&self)
processing/src/graph.rs:342
↓ 7 callers
Method
get_asset_metadata
( &self, txn: &'a V, id: &AssetUuid, )
daemon/src/asset_hub.rs:164
↓ 7 callers
Method
get_path
(self)
schema/src/schemas/data_capnp.rs:5391
↓ 7 callers
Method
get_paths
(self)
schema/src/schemas/data_capnp.rs:2612
↓ 7 callers
Function
hash_file
(state: &FileState)
daemon/src/source_pair_import.rs:968
↓ 7 callers
Method
insert
(&mut self, key: impl Iterator<Item = K>, value: V)
daemon/src/extension_map.rs:16
↓ 7 callers
Method
run
(self)
daemon/src/daemon.rs:182
↓ 6 callers
Method
error
(mut self, err: T)
loader/src/io.rs:32
↓ 6 callers
Function
file_metadata
Sanitizes file metadata
daemon/src/watcher.rs:72
↓ 6 callers
Method
init_paths
(self, size: u32)
schema/src/schemas/data_capnp.rs:2715
↓ 6 callers
Function
parse_db_asset_ref
(asset_ref: &data::asset_ref::Reader<'_>)
schema/src/lib.rs:88
↓ 6 callers
Function
parse_db_metadata
(metadata: &data::asset_metadata::Reader<'_>)
schema/src/lib.rs:152
↓ 6 callers
Method
register_command
(&mut self, keyword: &'static str, cmd: impl Command<C> + 'static)
cli/src/shell.rs:62
↓ 6 callers
Method
set_path
(&mut self, value: ::capnp::data::Reader<'_>)
schema/src/schemas/data_capnp.rs:401
↓ 5 callers
Method
add_edge
( mut self, edge: NodeEdge, )
processing/src/graph.rs:143
↓ 5 callers
Method
add_node
( mut self, node: Node, )
processing/src/graph.rs:136
↓ 5 callers
Function
add_test_file
(asset_dir: &Path, name: &str)
daemon/src/file_tracker.rs:921
↓ 5 callers
Function
build_dirty_file_info
Creates a DirtyFileInfo capn proto message
daemon/src/file_tracker.rs:200
↓ 5 callers
Function
calc_import_artifact_hash
(id: &AssetUuid, import_hash: u64, dep_list: T)
core/src/utils.rs:43
↓ 5 callers
Function
default_capnp_reader_options
Recommended default settings, including for use over network sockets
schema/src/lib.rs:18
↓ 5 callers
Method
get_asset_path
Given an asset ID, return the path to the source data that generated it
daemon/src/file_asset_source.rs:499
↓ 5 callers
Method
get_hash
(self)
schema/src/schemas/data_capnp.rs:3021
↓ 5 callers
Method
get_last_modified
(self)
schema/src/schemas/data_capnp.rs:1279
↓ 5 callers
Method
get_length
(self)
schema/src/schemas/data_capnp.rs:1284
↓ 5 callers
Method
get_or_insert
(&self, id: AssetUuid)
loader/src/loader.rs:186
↓ 5 callers
Method
get_type
( self, )
schema/src/schemas/data_capnp.rs:1272
↓ 5 callers
Method
get_watch_dirs
(&self)
daemon/src/file_tracker.rs:520
↓ 5 callers
Function
init_logging
()
daemon/src/lib.rs:65
↓ 5 callers
Method
ro_txn
(&self)
daemon/src/capnp_db.rs:296
↓ 5 callers
Method
scan_directory
Visit all files, call handle_notify_event() passing the event created by the provided callback
daemon/src/watcher.rs:124
↓ 5 callers
Method
scope
(&mut self, fut: F)
daemon/src/source_pair_import.rs:121
↓ 5 callers
Method
set_importer_from_map
Returns true if an appropriate importer was found, otherwise false.
daemon/src/source_pair_import.rs:214
↓ 4 callers
Method
add_refs
(&self, id: AssetUuid, num_refs: usize)
loader/src/loader.rs:219
↓ 4 callers
Method
build
(self)
processing/src/graph.rs:151
↓ 4 callers
Function
db_file_type
(t: fs::FileType)
daemon/src/file_tracker.rs:123
↓ 4 callers
Method
flush
(&self)
daemon/src/lib.rs:58
↓ 4 callers
Method
generate_source_metadata
Try to read the SourceMetadata from DB, but create a default SourceMetadata if the data cannot be found
daemon/src/source_pair_import.rs:314
↓ 4 callers
Method
get_all_asset_metadata_request
( &self, )
schema/src/schemas/service_capnp.rs:1068
↓ 4 callers
Method
get_asset_metadata
( &mut self, params: asset_hub::snapshot::GetAssetMetadataParams, mut results: asset_h
daemon/src/asset_hub_service.rs:100
↓ 4 callers
Method
get_build_deps
( self, )
schema/src/schemas/data_capnp.rs:3048
↓ 4 callers
Method
get_build_deps_reverse
( &self, txn: &'a V, id: &AssetUuid, )
daemon/src/asset_hub.rs:173
↓ 4 callers
Method
get_data
(self)
schema/src/schemas/data_capnp.rs:4124
↓ 4 callers
Method
get_entries
( self, )
schema/src/schemas/pack_capnp.rs:360
↓ 4 callers
Method
get_file_state
Gets state from source_files table
daemon/src/file_tracker.rs:691
↓ 4 callers
Method
get_list
( self, )
schema/src/schemas/data_capnp.rs:538
↓ 4 callers
Method
get_load_status
Returns the asset load status. # Parameters `load`: ID allocated by `Loader` to track loading of the asset.
loader/src/loader.rs:1061
next →
1–100 of 852, ranked by callers