Chris Lu
37af41fbfe
Shell: Added a helper function `isHelpRequest()` ( #7380 )
* 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
1 week ago
Aleksey Kosov
165af32d6b
added context to filer_client method calls ( #6808 )
Co-authored-by: akosov <a.kosov@kryptonite.ru>
5 months ago
chrislu
ec30a504ba
refactor
1 year ago
chrislu
701abbb9df
add IsResourceHeavy() to command interface
1 year ago
chrislu
70a4c98b00
refactor filer_pb.Entry and filer.Entry to use GetChunks()
for later locking on reading chunks
3 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
3 years ago
chrislu
57975b93ff
adjust used size reporting
3 years ago
chrislu
a79f5bd0d5
adjust used size reporting
3 years ago
Chris Lu
eb7929a971
rename filer2 to filer
5 years ago
Chris Lu
c647deace1
file size support set file length
use Attr.FileSize and TotalChunkSize to determine file size
5 years ago
Chris Lu
9e72e9e4b8
able to subscribe any topic from any point of time
6 years ago
Chris Lu
782d776d2a
refactoring
6 years ago
Chris Lu
38e73463f1
fix du block and byte couting
6 years ago
Chris Lu
e666aeece2
simplify parsing filer host and port
6 years ago
Chris Lu
d151185b7e
shell: desupport filer url in the arguments
6 years ago
Chris Lu
c0f0fdb3ba
refactoring
6 years ago
Chris Lu
f90c43635d
refactoring
6 years ago
Chris Lu
0156e2975a
mount: add mode to run external to SeaweedFS container cluster
6 years ago
Chris Lu
892e726eb9
avoid reusing context object
fix https://github.com/chrislusf/seaweedfs/issues/1182
6 years ago
Chris Lu
72a64a5cf8
use the same context object in order to retry
6 years ago
Chris Lu
1b0bfbaf59
refactoring
6 years ago
Chris Lu
8a2d529759
go fmt
6 years ago
Chris Lu
0fa1269bc7
filer: streaming file listing
6 years ago
j.laycock
6fc6322c90
Change joeslay paths to chrislusf paths
6 years ago
j.laycock
595a1beff0
Swap imports to use joeslay
6 years ago
Chris Lu
ede876cfdb
periodic scripts exeuction from leader master
7 years ago
Chris Lu
af37b374cb
weed shell: fs.cd change current directory
7 years ago
Chris Lu
715a38da1e
weed shell: add fs.cd, fs.pwd to change to a directory and print current directory
7 years ago
Chris Lu
7a14cdc90c
refactoring, go fmt
7 years ago
Chris Lu
bd1c0735e0
weed shell: adjust help text format
7 years ago
Chris Lu
f3d316a846
weed shell: adding file system disk usage fs.du
fix https://github.com/chrislusf/seaweedfs/issues/889
echo "fs.du http://localhost:8888/some/path " | weed shell
7 years ago