diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index e26c8b663..1c045b71d 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -20,5 +20,5 @@ jobs: with: check_filenames: true skip: ./.git,./.github/workflows/codespell.yml,.git,*.png,*.jpg,*.svg,*.sum,./vendor,go.sum,./NOTICE - ignore_words_list: filetest,dum,varius,KeyPair,keypair,ro,WRONLY,wronly,AKS + ignore_words_list: filetest,dum,varius,KeyPair,keypair,ro,WRONLY,wronly,AKS,ser \ No newline at end of file diff --git a/cmd/mount.go b/cmd/mount.go index 64891d811..ed63cc559 100644 --- a/cmd/mount.go +++ b/cmd/mount.go @@ -415,7 +415,7 @@ var mountCmd = &cobra.Command{ log.Crit("Starting Cloudfuse Mount : %s on [%s]", common.CloudfuseVersion, common.GetCurrentDistro()) log.Crit("Logging level set to : %s", logLevel.String()) - // If on Linux start with the go deamon + // If on Linux start with the go daemon // If on Windows, don't use the daemon since it is not supported // TODO: Enable running as a service on Windows if runtime.GOOS == "windows" { diff --git a/common/util.go b/common/util.go index 29f8726e0..636e090d8 100644 --- a/common/util.go +++ b/common/util.go @@ -146,7 +146,7 @@ func GetCurrentUser() (uint32, uint32, error) { } // JoinUnixFilepath uses filepath.join to join a path and ensures that -// path only uses unix path delimeters. +// path only uses unix path delimiters. func JoinUnixFilepath(elem ...string) string { return NormalizeObjectName(filepath.Join(elem...)) } diff --git a/component/libfuse/libfuse2_handler.go b/component/libfuse/libfuse2_handler.go index a9b845c19..5ad21f598 100644 --- a/component/libfuse/libfuse2_handler.go +++ b/component/libfuse/libfuse2_handler.go @@ -816,7 +816,7 @@ func (cf *CgofuseFS) Readlink(path string) (int, string) { return 0, targetPath } -// Fsync syncronizes the file. +// Fsync synchronizes the file. func (cf *CgofuseFS) Fsync(path string, datasync bool, fh uint64) int { if fh == 0 { return -fuse.EIO @@ -846,7 +846,7 @@ func (cf *CgofuseFS) Fsync(path string, datasync bool, fh uint64) int { return 0 } -// Fsyncdir syncronizes a directory. +// Fsyncdir synchronizes a directory. func (cf *CgofuseFS) Fsyncdir(path string, datasync bool, fh uint64) int { name := trimFusePath(path) name = common.NormalizeObjectName(name) diff --git a/component/s3storage/s3wrappers.go b/component/s3storage/s3wrappers.go index e0f6d79ad..02bd2dce2 100644 --- a/component/s3storage/s3wrappers.go +++ b/component/s3storage/s3wrappers.go @@ -495,7 +495,7 @@ func (cl *Client) getKey(name string, isSymLink bool) string { func (cl *Client) getFile(name string) (string, bool) { isSymLink := false - //todo: wrtie a test the catches the out of bounds issue. + //todo: write a test the catches the out of bounds issue. if strings.HasSuffix(name, symlinkStr) { isSymLink = true name = name[:len(name)-len(symlinkStr)] diff --git a/gui/azure_config_common.py b/gui/azure_config_common.py index 286cbf3a4..00ea9bec1 100644 --- a/gui/azure_config_common.py +++ b/gui/azure_config_common.py @@ -127,7 +127,7 @@ def populateOptions(self): self.setCheckboxFromSetting(self.checkBox_streaming_fileCachingLevel,stream['file-caching']) self.setCheckboxFromSetting(self.checkBox_libfuse_ignoreAppend,libfuse['ignore-open-flags']) - # Spinbox automatically sanitizes intputs for decimal values only, so no need to check for the appropriate data type. + # Spinbox automatically sanitizes inputs for decimal values only, so no need to check for the appropriate data type. self.spinBox_libfuse_attExp.setValue(libfuse['attribute-expiration-sec']) self.spinBox_libfuse_entExp.setValue(libfuse['entry-expiration-sec']) self.spinBox_libfuse_negEntryExp.setValue(libfuse['negative-entry-expiration-sec']) diff --git a/gui/azure_config_common.ui b/gui/azure_config_common.ui index e17004d34..12fe9667e 100644 --- a/gui/azure_config_common.ui +++ b/gui/azure_config_common.ui @@ -74,7 +74,7 @@ - <html><head/><body><p>The amount of time (seconds) the kernal can cache inode attributes</p></body></html> + <html><head/><body><p>The amount of time (seconds) the kernel can cache inode attributes</p></body></html> Attribute expiration (s) diff --git a/gui/s3_config_common.py b/gui/s3_config_common.py index 19d313867..0d8d6baea 100644 --- a/gui/s3_config_common.py +++ b/gui/s3_config_common.py @@ -108,7 +108,7 @@ def populateOptions(self): self.setCheckboxFromSetting(self.checkBox_streaming_fileCachingLevel,stream['file-caching']) self.setCheckboxFromSetting(self.checkBox_libfuse_ignoreAppend,libfuse['ignore-open-flags']) - # Spinbox automatically sanitizes intputs for decimal values only, so no need to check for the appropriate data type. + # Spinbox automatically sanitizes inputs for decimal values only, so no need to check for the appropriate data type. self.spinBox_libfuse_attExp.setValue(libfuse['attribute-expiration-sec']) self.spinBox_libfuse_entExp.setValue(libfuse['entry-expiration-sec']) self.spinBox_libfuse_negEntryExp.setValue(libfuse['negative-entry-expiration-sec']) diff --git a/gui/s3_config_common.ui b/gui/s3_config_common.ui index da41f066c..38d8ba85e 100644 --- a/gui/s3_config_common.ui +++ b/gui/s3_config_common.ui @@ -100,7 +100,7 @@ - <html><head/><body><p>The amount of time (seconds) the kernal can cache inode attributes</p></body></html> + <html><head/><body><p>The amount of time (seconds) the kernel can cache inode attributes</p></body></html> Attribute expiration (s) diff --git a/internal/stats_manager/stats_manager_windows.go b/internal/stats_manager/stats_manager_windows.go index c058ddfa1..54ba1208e 100644 --- a/internal/stats_manager/stats_manager_windows.go +++ b/internal/stats_manager/stats_manager_windows.go @@ -249,7 +249,7 @@ func statsPolling() { } message := messageBuf.String() - log.Debug("stats_manager::statsPolling : Recieved message to polling pipe %v", message) + log.Debug("stats_manager::statsPolling : Received message to polling pipe %v", message) // validating poll message if !strings.Contains(string(message), "Poll at") { diff --git a/internal/winservice/WINDOWS_DOCS.md b/internal/winservice/WINDOWS_DOCS.md index 8fc6a095b..1a6d2d177 100644 --- a/internal/winservice/WINDOWS_DOCS.md +++ b/internal/winservice/WINDOWS_DOCS.md @@ -32,7 +32,7 @@ Commands are sent to WinFsp using named pipes. The WinFsp pipe is located at \\.\pipe\WinFsp.{14E7137D-22B4-437A-B0C1-D21D1BDF3767}. Each command is sent as a UTF16 formatted string in bytes. Each command requires a class name to be sent which refers to the name of the registry key in the WinFsp registry that WinFsp should use when executing the command. In this case it is cloudfuse. Most commands require an instance name to -uniquely identify the running mount. The instance name is simplify the mount path in our architecure. +uniquely identify the running mount. The instance name is simplify the mount path in our architecture. Each command will write output to the named pipe to indicate success or failure. '$' indicates a successful command and '!' indicates failure. diff --git a/internal/winservice/service_windows.go b/internal/winservice/service_windows.go index e878ee245..76aaa2a4e 100644 --- a/internal/winservice/service_windows.go +++ b/internal/winservice/service_windows.go @@ -211,7 +211,7 @@ func writeCommandToUtf16(cmd uint16, args ...string) []byte { return buf.Bytes() } -// winFspCommand sends an instruciton to WinFsp. +// winFspCommand sends an instruction to WinFsp. func winFspCommand(command []byte) ([]string, error) { var retStrings []string winPipe, err := windows.UTF16PtrFromString(winfspPipe)