Package mkdir contains the structures describing mkdir request. See xrootd protocol specification (http://xrootd.org/doc/dev45/XRdv310.pdf, p. 105) for details.
- type Options
- type Request
RequestID is the id of the request, it is sent as part of message. See xrootd protocol specification for details: http://xrootd.org/doc/dev45/XRdv310.pdf, 2.3 Client Request Format.
type Options uint8
Options are the options to apply when path is created.
const OptionsMakePath Options = 1
OptionsMakePath indicates whether directory path should be created if it does not already exist. When a directory path is created, the directory permission specified in Mode is propagated along the newly created path.
Request holds mkdir request parameters, such as the file path.
func (Request) MarshalXrd ¶
MarshalXrd implements xrdproto.Marshaler.
Opaque implements xrdproto.FilepathRequest.Opaque.
SetOpaque implements xrdproto.FilepathRequest.SetOpaque.
func (*Request) ShouldSign ¶
ShouldSign implements xrdproto.Request.ShouldSign.