aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_fs_cat.go
AgeCommit message (Collapse)AuthorFilesLines
2025-10-24Shell: Added a helper function `isHelpRequest()` (#7380)Chris Lu1-0/+4
* Added a helper function `isHelpRequest()` * also handles combined short flags like -lh or -hl * Created handleHelpRequest() helper function encapsulates both: Checking for help flags Printing the help message * Limit to reasonable length (2-4 chars total) to avoid matching long options like -verbose
2025-08-06Context cancellation during reading range reading large files (#7093)Chris Lu1-1/+2
* context cancellation during reading range reading large files * address comments * cancellation for fuse read * fix cancellation * pass in context for each function to avoid racing condition * Update reader_at_test.go * remove dead code * Update weed/filer/reader_at.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update weed/filer/filechunk_group.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update weed/filer/filechunk_group.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * address comments * Update weed/mount/weedfs_file_read.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update weed/mount/weedfs_file_lseek.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update weed/mount/weedfs_file_read.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update weed/filer/reader_at.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update weed/mount/weedfs_file_lseek.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * test cancellation --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-22added context to filer_client method calls (#6808)Aleksey Kosov1-1/+2
Co-authored-by: akosov <a.kosov@kryptonite.ru>
2024-09-29refactorchrislu1-1/+1
2024-09-28add IsResourceHeavy() to command interfacechrislu1-0/+4
2022-11-15refactor filer_pb.Entry and filer.Entry to use GetChunks()chrislu1-1/+1
for later locking on reading chunks
2022-07-29move to https://github.com/seaweedfs/seaweedfschrislu1-3/+3
2022-02-07filer read empty file may cause OOM in some caseschrislu1-4/+2
fix https://github.com/chrislusf/seaweedfs/issues/2641
2021-12-26use streaming mode for long poll grpc callschrislu1-1/+1
streaming mode would create separate grpc connections for each call. this is to ensure the long poll connections are properly closed.
2021-08-24cat entry contentChris Lu1-0/+5
2021-05-05revert PR #1903 avoid http error: superfluous response.WriteHeaderChris Lu1-1/+1
2021-03-16CheckAllChunkViews() for HEAD requests onlyKonstantin Lebedev1-1/+1
2020-09-01rename filer2 to filerChris Lu1-2/+2
2020-03-23simplify parsing filer host and portChris Lu1-5/+3
2020-03-23shell: desupport filer url in the argumentsChris Lu1-1/+0
2020-03-23refactoringChris Lu1-1/+2
2020-03-22consistent 64bit sizeChris Lu1-1/+1
2020-03-07fuse mount: avoid lookup nil entryChris Lu1-5/+1
fix https://github.com/chrislusf/seaweedfs/issues/1221
2020-02-25avoid reusing context objectChris Lu1-5/+3
fix https://github.com/chrislusf/seaweedfs/issues/1182
2020-02-25fix directory lookup nilChris Lu1-0/+3
2020-01-26use the same context object in order to retryChris Lu1-1/+1
2019-12-20adjust help messageChris Lu1-4/+0
2019-06-05periodic scripts exeuction from leader masterChris Lu1-4/+3
2019-04-21minorChris Lu1-1/+1
2019-04-21shell: add fs.catChris Lu1-0/+69