hdfs icon indicating copy to clipboard operation
hdfs copied to clipboard

Whether the Create function can open the CreateFlag parameter to the outside?

Open chenyahui opened this issue 1 year ago • 0 comments

Now the Create function is forced to set CreateFlag to 1 (O_WRONLY). Is it possible to open this parameter?

We often modify the request according to our needs,such as: set CreateFlag to O_CREATE, set CreateParent to true.

Or make the internal/protocol、internal/rpc package public like v1, so everyone can use rpc directly?

https://github.com/colinmarc/hdfs/blob/master/file_writer.go#L69

image

chenyahui avatar Nov 01 '22 12:11 chenyahui