summaryrefslogtreecommitdiff
path: root/components/dfs
diff options
context:
space:
mode:
authorCYFS <[email protected]>2025-10-28 15:17:04 +0800
committerGitHub <[email protected]>2025-10-28 15:17:04 +0800
commit6a9a1df4377a0ef1843a7b9b5a920f9dffafcfec (patch)
tree1ad05afb973e57010867c9a659cadab10a9c5492 /components/dfs
parent0017ad125503689d7eabf5bc732eec326a06bc77 (diff)
[components]:utilize the clang-format-ignore mechanism (#10860)
Diffstat (limited to 'components/dfs')
-rw-r--r--components/dfs/.clang-format-ignore9
-rw-r--r--components/dfs/dfs_v1/filesystems/.ignore_format.yml4
-rw-r--r--components/dfs/dfs_v1/filesystems/elmfat/.ignore_format.yml10
-rw-r--r--components/dfs/dfs_v2/filesystems/.ignore_format.yml4
-rw-r--r--components/dfs/dfs_v2/filesystems/elmfat/.ignore_format.yml10
5 files changed, 9 insertions, 28 deletions
diff --git a/components/dfs/.clang-format-ignore b/components/dfs/.clang-format-ignore
new file mode 100644
index 0000000000..d828266030
--- /dev/null
+++ b/components/dfs/.clang-format-ignore
@@ -0,0 +1,9 @@
+# .clang-format-ignore File Description:
+# ----------------------------------------------------------------------------------------
+# 1. Used to specify which files or directories should be skipped by the clang-format tool.
+# 2. Follows syntax rules similar to .gitignore.
+# 3. Supports wildcard patterns and path matching.
+# 4. clang-format will recursively apply the .clang-format-ignore rules.
+
+
+/**/elmfat/ \ No newline at end of file
diff --git a/components/dfs/dfs_v1/filesystems/.ignore_format.yml b/components/dfs/dfs_v1/filesystems/.ignore_format.yml
deleted file mode 100644
index e72719df1d..0000000000
--- a/components/dfs/dfs_v1/filesystems/.ignore_format.yml
+++ /dev/null
@@ -1,4 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-
-dir_path:
-- elmfat
diff --git a/components/dfs/dfs_v1/filesystems/elmfat/.ignore_format.yml b/components/dfs/dfs_v1/filesystems/elmfat/.ignore_format.yml
deleted file mode 100644
index bf5ce8eb5a..0000000000
--- a/components/dfs/dfs_v1/filesystems/elmfat/.ignore_format.yml
+++ /dev/null
@@ -1,10 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-file_path:
-- diskio.h
-- ff.c
-- ff.h
-- ffconf.h
-- ffunicode.c
diff --git a/components/dfs/dfs_v2/filesystems/.ignore_format.yml b/components/dfs/dfs_v2/filesystems/.ignore_format.yml
deleted file mode 100644
index e72719df1d..0000000000
--- a/components/dfs/dfs_v2/filesystems/.ignore_format.yml
+++ /dev/null
@@ -1,4 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-
-dir_path:
-- elmfat
diff --git a/components/dfs/dfs_v2/filesystems/elmfat/.ignore_format.yml b/components/dfs/dfs_v2/filesystems/elmfat/.ignore_format.yml
deleted file mode 100644
index bf5ce8eb5a..0000000000
--- a/components/dfs/dfs_v2/filesystems/elmfat/.ignore_format.yml
+++ /dev/null
@@ -1,10 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-file_path:
-- diskio.h
-- ff.c
-- ff.h
-- ffconf.h
-- ffunicode.c