From 0b18bd3ee34b68ca117559b3eaa8ada14954b556 Mon Sep 17 00:00:00 2001 From: ston1th Date: Mon, 14 Mar 2022 23:08:09 +0100 Subject: [PATCH] removed comments --- TODO.txt | 1 - pkg/fs/webdav.go | 5 ----- 2 files changed, 6 deletions(-) diff --git a/TODO.txt b/TODO.txt index afa6c8c..9483a5b 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,4 +1,3 @@ * add disk quota * add LRU cache * implement directory listing cache -* implement webdav share? diff --git a/pkg/fs/webdav.go b/pkg/fs/webdav.go index d8f4831..cddd393 100644 --- a/pkg/fs/webdav.go +++ b/pkg/fs/webdav.go @@ -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 {