MCPcopy Create free account

hub / github.com/amethyst/distill / functions

Functions852 in github.com/amethyst/distill

↓ 4 callersMethodget_reader
(&self)
loader/src/packfile_io.rs:47
↓ 4 callersMethodget_rw_txn
(&self)
daemon/src/file_tracker.rs:529
↓ 4 callersMethodinit_id
(self, size: u32)
schema/src/schemas/data_capnp.rs:170
↓ 4 callersMethodinto_reader
(self)
schema/src/schemas/pack_capnp.rs:166
↓ 4 callersMethodprocess
Processes pending load operations. Load operations include: Requesting asset metadata. Requesting asset data. Committing completed [`AssetLoadOp`]s.
loader/src/loader.rs:1148
↓ 4 callersFunctionprocess_requests
(runtime: &mut RpcRuntime, requests: &mut QueuedRequests)
loader/src/rpc_io.rs:361
↓ 4 callersMethodremove_ref
Removes a reference to an asset. # Parameters `load_handle`: ID allocated by `Loader` to track loading of the asset.
loader/src/loader.rs:1131
↓ 4 callersMethodresolve_asset_ref
Given a "current directory" and a reference (that might be a relative path), return the appropriate imported asset ID.
daemon/src/file_asset_source.rs:444
↓ 4 callersMethodset_importer_contexts
(&mut self, importer_contexts: &'a [Box<dyn ImporterContext>])
daemon/src/source_pair_import.rs:219
↓ 4 callersFunctionto_meta_path
(p: &Path)
core/src/utils.rs:37
↓ 4 callersMethodtxn
(&'a self)
daemon/src/capnp_db.rs:153
↓ 4 callersFunctionupdate_deleted_dirty_entry
Checks if the file is in source_files. If it is, write a delete entry to the dirty_files table
daemon/src/file_tracker.rs:230
↓ 4 callersMethodversion
(&self)
src/lib.rs:179
↓ 4 callersMethodwith_importer
(mut self, exts: &[&str], importer: B)
daemon/src/daemon.rs:113
↓ 4 callersMethodwrite_metadata
Write the .meta file to disk
daemon/src/source_pair_import.rs:671
↓ 3 callersMethodadd_ref_handle
(&self, handle: LoadHandle, num_refs: usize)
loader/src/loader.rs:225
↓ 3 callersMethodany
(&self)
examples/handle_integration/src/storage.rs:151
↓ 3 callersFunctionautocomplete_asset_uuids
( ctx: &Context, starting_str: Option<&str>, whitespaces_last: usize, )
cli/src/lib.rs:467
↓ 3 callersFunctionbuild_source_info
Creates a SourceFileInfo capn proto message
daemon/src/file_tracker.rs:216
↓ 3 callersMethoddelete_dirty_file_state
Deletes an item from dirty_files table. This function must be used carefully to avoid a race condition; check that the SourceFileInfo stored in the ta
daemon/src/file_tracker.rs:653
↓ 3 callersMethodget_asset_metadata_request
( &self, )
schema/src/schemas/service_capnp.rs:1055
↓ 3 callersMethodget_import_artifacts_request
( &self, )
schema/src/schemas/service_capnp.rs:1095
↓ 3 callersMethodget_metadata
( self, )
schema/src/schemas/data_capnp.rs:4110
↓ 3 callersMethodget_path_for_assets_request
( &self, )
schema/src/schemas/service_capnp.rs:1122
↓ 3 callersMethodget_result_metadata_from_cache
Read the result of previous import into self.result_metadata
daemon/src/source_pair_import.rs:304
↓ 3 callersMethodget_snapshot
( self, )
schema/src/schemas/service_capnp.rs:6681
↓ 3 callersMethodget_version
(self)
schema/src/schemas/data_capnp.rs:2119
↓ 3 callersMethodhandle_updated_symlink
Called when we receive about changes, most of the time we will detect that the path is not a symlink and do nothing
daemon/src/watcher.rs:269
↓ 3 callersMethodidentifier
(&self)
loader/src/io.rs:69
↓ 3 callersMethodimport_boxed
( &'a self, op: &'a mut ImportOp, source: &'a mut (dyn AsyncRead + Unpin + Send + Sync
importer/src/boxed_importer.rs:89
↓ 3 callersMethodimport_hash
(&self)
daemon/src/source_pair_import.rs:281
↓ 3 callersMethodimport_result_from_cached_data
Regenerate PairImportResult based on cached previous import. This is used when we reimport an asset to update other assets that depend on it. We also
daemon/src/source_pair_import.rs:353
↓ 3 callersMethodimport_source
Read the asset from disk, returns an updated PairImportResult (i.e. hash will match the imported data, assets will be refreshed with data from disk)
daemon/src/source_pair_import.rs:618
↓ 3 callersMethodneeds_source_import
Checks if anything has changed (like importer version number being bumped), requiring a re-import. Returns true if source_metadata or result_metadata
daemon/src/source_pair_import.rs:225
↓ 3 callersFunctionparse_artifact_metadata
(artifact: &data::artifact_metadata::Reader<'_>)
schema/src/lib.rs:101
↓ 3 callersMethodput_build_deps_reverse
( &self, txn: &mut RwTransaction<'_>, id: &AssetUuid, dependees: Vec<AssetUuid
daemon/src/asset_hub.rs:181
↓ 3 callersMethodremove_refs
(&self, load: LoadHandle, num_refs: usize)
loader/src/loader.rs:300
↓ 3 callersMethodrequested_assets
(&self)
loader/src/io.rs:116
↓ 3 callersFunctionresolve_source_path
converts a relative path in one asset file pointing at another asset file to a canonicalized path to that file from the root of the asset folder
daemon/src/file_asset_source.rs:153
↓ 3 callersMethodset_source_hash
(&mut self, source_hash: u64)
daemon/src/source_pair_import.rs:191
↓ 3 callersMethodupdate_asset
Writes the asset metadata to the DB. For any build dependency, we need to update the build_dep_reverse table. If there was already an asset metadata s
daemon/src/asset_hub.rs:202
↓ 3 callersFunctionwait_for_status
( status: LoadStatus, handle: LoadHandle, loader: &mut Loader, storage: &mut S
src/lib.rs:220
↓ 3 callersMethodwith
(loader: &dyn LoaderInfoProvider, sender: Sender<RefOp>, f: F)
loader/src/handle.rs:279
↓ 3 callersMethodwith
(&'static self, f: F)
loader/src/task_local.rs:85
↓ 3 callersMethodwith_address
(mut self, address: SocketAddr)
daemon/src/daemon.rs:108
↓ 3 callersMethodwith_asset_dirs
(mut self, dirs: Vec<PathBuf>)
daemon/src/daemon.rs:171
↓ 3 callersMethodwith_db_path
(mut self, path: P)
daemon/src/daemon.rs:103
↓ 2 callersFunctionadd_asset_changelog_entry
Utility function called from add_changes
daemon/src/asset_hub.rs:82
↓ 2 callersMethodadd_changes
This is usually called from FileAssetSource::process_asset_metadata, after calling process_metadata_changes, which will call update_path/remove_path a
daemon/src/asset_hub.rs:366
↓ 2 callersFunctionadd_symlink_dir
( asset_dir: &P, name: &Q, target: &R, )
daemon/src/file_tracker.rs:960
↓ 2 callersFunctionadd_test_dir
(asset_dir: &Path, name: &str)
daemon/src/file_tracker.rs:915
↓ 2 callersMethodalloc
(&self)
loader/src/storage.rs:225
↓ 2 callersMethodany_mut
(&mut self)
importer/src/serde_obj.rs:16
↓ 2 callersMethodbegin_serialize_asset
(&mut self, id: AssetUuid)
daemon/src/source_pair_import.rs:155
↓ 2 callersFunctionbuild_artifact_message
( artifact: &SerializedAsset<T>, )
daemon/src/artifact_cache.rs:89
↓ 2 callersFunctionbuild_artifact_metadata
( artifact_metadata: &ArtifactMetadata, artifact: &mut data::artifact_metadata::Builder<'_>, )
schema/src/lib.rs:209
↓ 2 callersFunctionbuild_asset_metadata
( metadata: &AssetMetadata, m: &mut data::asset_metadata::Builder<'_>, source: data::AssetSource,
schema/src/lib.rs:247
↓ 2 callersMethodbuild_import_result
( &mut self, op: Option<ImportOp>, importer: &dyn BoxedImporter, options: Box<
daemon/src/source_pair_import.rs:415
↓ 2 callersMethodcalc_import_hash
( &self, options: &dyn SerdeObj, state: &dyn SerdeObj, importer_version: u32,
daemon/src/source_pair_import.rs:258
↓ 2 callersMethodcapnp_iter_from
(mut self, key: &K)
daemon/src/capnp_db.rs:60
↓ 2 callersFunctioncapnp_reader_from_slice
Common setup for the capnp message Reader, used by `PackfileMessageReaderFile` and `PackfileMessageReaderBuffer`
loader/src/packfile_io.rs:109
↓ 2 callersMethodclear_db
(&mut self, db: lmdb::Database)
daemon/src/capnp_db.rs:230
↓ 2 callersFunctionclear_dirty_file_state
(t: &FileTracker)
daemon/src/file_tracker.rs:996
↓ 2 callersFunctioncommit_asset
( handle: LoadHandle, load: &mut AssetLoad, version: u32, asset_storage: &mut dyn AssetStorage
loader/src/loader.rs:1194
↓ 2 callersMethodconnect
(&mut self, connection_type: RpcConnectionType)
loader/src/rpc_io.rs:89
↓ 2 callersMethoddefault_state
(&self)
importer/src/boxed_importer.rs:162
↓ 2 callersMethoddelete_asset_path
(&self, txn: &mut RwTransaction<'_>, asset_id: &AssetUuid)
daemon/src/file_asset_source.rs:509
↓ 2 callersMethoddelete_source_metadata
(&self, txn: &mut RwTransaction<'_>, path: &Path)
daemon/src/file_asset_source.rs:404
↓ 2 callersMethodend_serialize_asset
(&mut self, id: AssetUuid)
daemon/src/source_pair_import.rs:161
↓ 2 callersFunctionexpect_no_file_state
(t: &FileTracker, asset_dir: &Path, name: &str)
daemon/src/file_tracker.rs:896
↓ 2 callersMethodget
( &'a self, db: lmdb::Database, key: &K, )
daemon/src/capnp_db.rs:101
↓ 2 callersMethodget_artifact
(self)
schema/src/schemas/pack_capnp.rs:71
↓ 2 callersMethodget_artifacts
(&mut self, requests: Vec<DataRequest>)
loader/src/rpc_io.rs:236
↓ 2 callersMethodget_artifacts
( self, )
schema/src/schemas/service_capnp.rs:3693
↓ 2 callersMethodget_asset_id
(self)
schema/src/schemas/data_capnp.rs:3009
↓ 2 callersMethodget_assets_for_paths_request
( &self, )
schema/src/schemas/service_capnp.rs:1131
↓ 2 callersMethodget_by_path
(&'a self, path: &Path)
daemon/src/daemon.rs:34
↓ 2 callersFunctionget_handle_ref
(asset_ref: AssetRef)
loader/src/handle.rs:450
↓ 2 callersMethodget_importer_options_type
(self)
schema/src/schemas/data_capnp.rs:2012
↓ 2 callersMethodget_importer_state_type
(self)
schema/src/schemas/data_capnp.rs:2036
↓ 2 callersMethodget_importer_type
(self)
schema/src/schemas/data_capnp.rs:2076
↓ 2 callersMethodget_importer_version
(self)
schema/src/schemas/data_capnp.rs:2007
↓ 2 callersMethodget_latest_change
(self)
schema/src/schemas/service_capnp.rs:6676
↓ 2 callersMethodget_load_deps
( self, )
schema/src/schemas/data_capnp.rs:3033
↓ 2 callersMethodget_load_handle
(&self, asset_ref: &AssetRef)
loader/src/handle.rs:333
↓ 2 callersFunctionget_path_file_state
Read filestate from disk (i.e. if the file exists, modification data, length, etc.)
daemon/src/source_pair_import.rs:869
↓ 2 callersMethodget_path_refs
( &self, txn: &'a V, path: &Path, )
daemon/src/file_asset_source.rs:568
↓ 2 callersMethodget_search_tags
( self, )
schema/src/schemas/data_capnp.rs:3454
↓ 2 callersMethodget_snapshot_request
( &self, )
schema/src/schemas/service_capnp.rs:815
↓ 2 callersMethodget_source
( self, )
schema/src/schemas/data_capnp.rs:3490
↓ 2 callersMethodget_source_info
( self, )
schema/src/schemas/data_capnp.rs:1050
↓ 2 callersMethodhandle_notify_event
Handles events from notify, and manually triggered from calling scan_directory()
daemon/src/watcher.rs:332
↓ 2 callersMethodhandle_update
(&self)
daemon/src/file_asset_source.rs:1458
↓ 2 callersMethodhash_source
(&mut self)
daemon/src/source_pair_import.rs:199
↓ 2 callersMethodimbue
(&mut self, cap_table: &'a ::capnp::private::layout::CapTable)
schema/src/schemas/pack_capnp.rs:55
↓ 2 callersMethodinclude_asset_metadata
Whether the response should include asset metadata or not, for debugging purposes.
loader/src/io.rs:121
↓ 2 callersMethodindirection_table
Returns a reference to the loader's [`IndirectionTable`]. When a user fetches an asset by LoadHandle, implementors of [`AssetStorage`] should resolve
loader/src/loader.rs:1174
↓ 2 callersMethodinit_latest_artifact
( self, )
schema/src/schemas/data_capnp.rs:3697
↓ 2 callersMethodis_path
(&self)
core/src/lib.rs:193
↓ 2 callersMethodload_handle
(&self)
loader/src/handle.rs:113
← previousnext →101–200 of 852, ranked by callers