diff options
| author | chrislu <chris.lu@gmail.com> | 2024-09-28 20:22:57 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2024-09-28 20:23:01 -0700 |
| commit | 701abbb9df1b21b2acef8af6b5f1093754dd4f40 (patch) | |
| tree | 631280df2bf1a541390df0f1683410b93b96b17c /weed/shell/command_fs_pwd.go | |
| parent | dad3a26fb6a114e8b689ae60935e5f48d29cdd14 (diff) | |
| download | seaweedfs-701abbb9df1b21b2acef8af6b5f1093754dd4f40.tar.xz seaweedfs-701abbb9df1b21b2acef8af6b5f1093754dd4f40.zip | |
add IsResourceHeavy() to command interface
Diffstat (limited to 'weed/shell/command_fs_pwd.go')
| -rw-r--r-- | weed/shell/command_fs_pwd.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/weed/shell/command_fs_pwd.go b/weed/shell/command_fs_pwd.go index d7d9819c8..ef6c000ba 100644 --- a/weed/shell/command_fs_pwd.go +++ b/weed/shell/command_fs_pwd.go @@ -20,6 +20,10 @@ func (c *commandFsPwd) Help() string { return `print out current directory` } +func (c *commandFsPwd) IsResourceHeavy() bool { + return false +} + func (c *commandFsPwd) Do(args []string, commandEnv *CommandEnv, writer io.Writer) (err error) { fmt.Fprintf(writer, "%s\n", commandEnv.option.Directory) |
