hdfs
hdfs copied to clipboard
Whether the Create function can open the CreateFlag parameter to the outside?
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
