removed comments
This commit is contained in:
parent
78bd754298
commit
0b18bd3ee3
2 changed files with 0 additions and 6 deletions
|
|
@ -34,11 +34,6 @@ func (*WebDavFS) Rename(_ context.Context, _, _ string) error {
|
|||
}
|
||||
|
||||
func (w *WebDavFS) OpenFile(_ context.Context, name string, flags int, _ os.FileMode) (webdav.File, error) {
|
||||
//O_WRONLY int = syscall.O_WRONLY // open the file write-only.
|
||||
//O_RDWR int = syscall.O_RDWR // open the file read-write.
|
||||
//O_APPEND int = syscall.O_APPEND // append data to the file when writing.
|
||||
//O_CREATE int = syscall.O_CREAT // create a new file if none exists.
|
||||
//O_EXCL int = syscall.O_EXCL // used with O_CREATE, file must not exist.
|
||||
if flags&os.O_RDWR == os.O_RDWR ||
|
||||
flags&os.O_CREATE == os.O_CREATE ||
|
||||
flags&os.O_TRUNC == os.O_TRUNC {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue