Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix spelling #4869

Merged
merged 3 commits into from
Jul 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/src/docs/rfcs/3243_list_prefix.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Xuanwo marked this conversation as resolved.
Show resolved Hide resolved

- 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 `/`
Expand Down
2 changes: 1 addition & 1 deletion core/src/services/fs/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>,
Expand Down
2 changes: 1 addition & 1 deletion core/src/types/list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions core/src/types/scheme.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -166,7 +166,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),
}

Expand Down
Loading