aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_fs_du.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-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-07-04adjust used size reportingchrislu1-1/+1
2022-07-04adjust used size reportingchrislu1-1/+1
2020-09-01rename filer2 to filerChris Lu1-2/+2
2020-08-15file size support set file lengthChris Lu1-3/+3
use Attr.FileSize and TotalChunkSize to determine file size
2020-04-29able to subscribe any topic from any point of timeChris Lu1-1/+2
2020-03-23refactoringChris Lu1-12/+0
2020-03-23fix du block and byte coutingChris Lu1-1/+6
2020-03-23simplify parsing filer host and portChris Lu1-22/+6
2020-03-23shell: desupport filer url in the argumentsChris Lu1-3/+3
2020-03-23refactoringChris Lu1-3/+4
2020-03-04refactoringChris Lu1-7/+2
2020-02-26mount: add mode to run external to SeaweedFS container clusterChris Lu1-0/+3
2020-02-25avoid reusing context objectChris Lu1-13/+10
fix https://github.com/chrislusf/seaweedfs/issues/1182
2020-01-26use the same context object in order to retryChris Lu1-4/+4
2020-01-19refactoringChris Lu1-1/+1
2019-12-23go fmtChris Lu1-1/+0
2019-12-13filer: streaming file listingChris Lu1-51/+45
2019-06-05periodic scripts exeuction from leader masterChris Lu1-3/+3
2019-04-04weed shell: fs.cd change current directoryChris Lu1-10/+6
2019-04-03weed shell: add fs.cd, fs.pwd to change to a directory and print current ↵Chris Lu1-23/+2
directory
2019-03-25refactoring, go fmtChris Lu1-3/+3
2019-03-23weed shell: adjust help text formatChris Lu1-1/+6
2019-03-19weed shell: adding file system disk usage fs.duChris Lu1-0/+137
fix https://github.com/chrislusf/seaweedfs/issues/889 echo "fs.du http://localhost:8888/some/path" | weed shell