We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cd06e0f + c670274 commit fb9e39eCopy full SHA for fb9e39e
client.go
@@ -235,6 +235,12 @@ func (c *Client) User() string {
235
return c.namenode.User
236
}
237
238
+// Name returns the unique name that the Client uses in communication
239
+// with namenodes and datanodes.
240
+func (c *Client) Name() string {
241
+ return c.namenode.ClientName
242
+}
243
+
244
// ReadFile reads the file named by filename and returns the contents.
245
func (c *Client) ReadFile(filename string) ([]byte, error) {
246
f, err := c.Open(filename)
0 commit comments