diff options
author | Oleksandr Redko <Oleksandr_Redko@epam.com> | 2023-12-13 07:56:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-13 13:56:24 +0800 |
commit | 9d6b4702602cd29387a639c35cfb92e21a3bad11 (patch) | |
tree | d399130b9276f88be21cd277940110154df329f9 /fs.go | |
parent | chore: Set max line length to 130 characters (#1676) (diff) | |
download | fasthttp-9d6b4702602cd29387a639c35cfb92e21a3bad11.tar.gz fasthttp-9d6b4702602cd29387a639c35cfb92e21a3bad11.tar.bz2 fasthttp-9d6b4702602cd29387a639c35cfb92e21a3bad11.zip |
chore: Add missing dots at the end of comments (#1677)
Diffstat (limited to 'fs.go')
-rw-r--r-- | fs.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -558,7 +558,7 @@ func (ff *fsFile) smallFileReader() (io.Reader, error) { return r, nil } -// files bigger than this size are sent with sendfile +// Files bigger than this size are sent with sendfile. const maxSmallFileSize = 2 * 4096 func (ff *fsFile) isBig() bool { @@ -1436,7 +1436,7 @@ func (h *fsHandler) compressFileNolock( return h.newCompressedFSFile(compressedFilePath, fileEncoding) } -// newCompressedFSFileCache use memory cache compressed files +// newCompressedFSFileCache use memory cache compressed files. func (h *fsHandler) newCompressedFSFileCache(f fs.File, fileInfo fs.FileInfo, filePath, fileEncoding string) (*fsFile, error) { var ( w = &bytebufferpool.ByteBuffer{} |