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
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
3 years ago
chrislu
9f9ef1340c
use streaming mode for long poll grpc calls
streaming mode would create separate grpc connections for each call.
this is to ensure the long poll connections are properly closed.
4 years ago
Chris Lu
27e24162f2
minor
5 years ago
Chris Lu
41cc6e661b
fs.mv ensures there are 2 arguments
5 years ago
Chris Lu
91da7057b1
refactoring
6 years ago
Chris Lu
e666aeece2
simplify parsing filer host and port
6 years ago
Chris Lu
c0f0fdb3ba
refactoring
6 years ago
Chris Lu
8645283a7b
fuse mount: avoid lookup nil entry
fix https://github.com/chrislusf/seaweedfs/issues/1221
6 years ago
Chris Lu
ed0acd1722
go fmt
6 years ago
Chris Lu
892e726eb9
avoid reusing context object
fix https://github.com/chrislusf/seaweedfs/issues/1182
6 years ago
Chris Lu
7d10fdf737
fix directory lookup nil
6 years ago
Chris Lu
72a64a5cf8
use the same context object in order to retry
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
862c2cb8e6
go fmt
6 years ago
Chris Lu
9e47c4749a
shell: add fs.mv
fix https://github.com/chrislusf/seaweedfs/issues/954
6 years ago