Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit01a6bc9

Browse files
committed
fix: opfs_tracing feature
1 parent53991a5 commit01a6bc9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

‎src/fs/wasm/opfs/open_dir.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use super::{
1616
virtualize,
1717
};
1818

19-
#[cfg_attr(feature ="tracing", tracing::instrument(level ="trace", fields(path = %path.as_ref().to_string_lossy())))]
19+
#[cfg_attr(feature ="opfs_tracing", tracing::instrument(level ="trace", fields(path = %path.as_ref().to_string_lossy())))]
2020
pub(crate)asyncfnopen_dir(
2121
path:implAsRef<Path>,
2222
r#type:OpenDirType,

‎src/fs/wasm/opfs/open_file.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use super::{
1818
virtualize,
1919
};
2020

21-
#[cfg_attr(feature ="tracing", tracing::instrument(level ="trace", fields(path = %path.as_ref().to_string_lossy())))]
21+
#[cfg_attr(feature ="opfs_tracing", tracing::instrument(level ="trace", fields(path = %path.as_ref().to_string_lossy())))]
2222
pub(crate)asyncfnopen_file(
2323
path:implAsRef<Path>,
2424
create:CreateFileMode,

‎src/fs/wasm/opfs/remove.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use super::{
88
virtualize,
99
};
1010

11-
#[cfg_attr(feature ="tracing", tracing::instrument(level ="trace", fields(path = %path.as_ref().to_string_lossy())))]
11+
#[cfg_attr(feature ="opfs_tracing", tracing::instrument(level ="trace", fields(path = %path.as_ref().to_string_lossy())))]
1212
pub(crate)asyncfnremove(path:implAsRef<Path>,recursive:bool) -> io::Result<()>{
1313
let virt = virtualize::virtualize(path)?;
1414

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp