You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2024/07/08 09:26:03 UTC
(opendal) branch main updated: chore: fix spelling (#4869)
This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opendal.git
The following commit(s) were added to refs/heads/main by this push:
new dd62200269 chore: fix spelling (#4869)
dd62200269 is described below
commit dd622002692aff79dda26d06cd35c9c79a56b881
Author: NKID00 <th...@nkid00.name>
AuthorDate: Mon Jul 8 17:25:57 2024 +0800
chore: fix spelling (#4869)
* fix: typo
* fix: typo
* fix: typo
---
core/src/docs/rfcs/3243_list_prefix.md | 2 +-
core/src/services/fs/backend.rs | 2 +-
core/src/types/list.rs | 2 +-
core/src/types/scheme.rs | 4 ++--
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/core/src/docs/rfcs/3243_list_prefix.md b/core/src/docs/rfcs/3243_list_prefix.md
index 8ae49c2648..653ae518a5 100644
--- a/core/src/docs/rfcs/3243_list_prefix.md
+++ b/core/src/docs/rfcs/3243_list_prefix.md
@@ -93,7 +93,7 @@ While create dir on a path:
# Reference-level explanation
-For POSIX-alike services, we will:
+For POSIX-like services, we will:
- Simulate the list prefix behavior by listing the parent dir and filter the children that matches the prefix.
- Return `NotFound` while stat an existing file with `/`
diff --git a/core/src/services/fs/backend.rs b/core/src/services/fs/backend.rs
index 9c8d5b911f..126e92b062 100644
--- a/core/src/services/fs/backend.rs
+++ b/core/src/services/fs/backend.rs
@@ -166,7 +166,7 @@ impl Builder for FsBuilder {
}
}
-/// Backend is used to serve `Accessor` support for posix alike fs.
+/// Backend is used to serve `Accessor` support for posix-like fs.
#[derive(Debug, Clone)]
pub struct FsBackend {
core: Arc<FsCore>,
diff --git a/core/src/types/list.rs b/core/src/types/list.rs
index 327eed0ad3..9c38b4fc05 100644
--- a/core/src/types/list.rs
+++ b/core/src/types/list.rs
@@ -155,7 +155,7 @@ impl Stream for Lister {
// Trying to pull more tasks if there are more space.
if self.tasks.has_remaining() {
- // Building future is we have a lister available.
+ // Building future if we have a lister available.
if let Some(mut lister) = self.lister.take() {
let fut = async move {
let res = lister.next_dyn().await;
diff --git a/core/src/types/scheme.rs b/core/src/types/scheme.rs
index e34e66fae3..a78fe5f6b2 100644
--- a/core/src/types/scheme.rs
+++ b/core/src/types/scheme.rs
@@ -74,7 +74,7 @@ pub enum Scheme {
Foundationdb,
/// [dbfs][crate::services::Dbfs]: DBFS backend support.
Dbfs,
- /// [fs][crate::services::Fs]: POSIX alike file system.
+ /// [fs][crate::services::Fs]: POSIX-like file system.
Fs,
/// [ftp][crate::services::Ftp]: FTP backend.
Ftp,
@@ -168,7 +168,7 @@ pub enum Scheme {
/// # NOTE
///
/// - Custom must not overwrite any existing services name.
- /// - Custom must be lowed cases.
+ /// - Custom must be in lower case.
Custom(&'static str),
}