Skip to content

Commit

Permalink
Update crates/bevy_asset/src/io/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
  • Loading branch information
SpecificProtagonist and alice-i-cecile authored Jan 11, 2023
1 parent 468f2f7 commit c766d16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/bevy_asset/src/io/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ pub trait AssetIo: Downcast + Send + Sync + 'static {
fn get_metadata(&self, path: &Path) -> Result<Metadata, AssetIoError>;

/// Tells the asset I/O to watch for changes recursively at the provided path.
///
/// No-op if `watch_for_changes` hasn't been called yet.
/// Otherwise, if `to_watch` gets modified, trigger a reload for `to_reload`.
/// Note that multiple `to_reload` paths can map to the same `to_watch` and
Expand Down

0 comments on commit c766d16

Please sign in to comment.