mirror of
https://github.com/openziti/zrok.git
synced 2025-08-18 03:39:58 +02:00
start of 'copy to'; more plumbing to support passing modification times through (#438)
This commit is contained in:
@@ -61,7 +61,7 @@ func (t *FilesystemTarget) recurse(path string, d fs.DirEntry, err error) error
|
||||
}
|
||||
|
||||
func (t *FilesystemTarget) ReadStream(path string) (io.ReadCloser, error) {
|
||||
return os.Open(path)
|
||||
return os.Open(filepath.Join(t.cfg.Root, path))
|
||||
}
|
||||
|
||||
func (t *FilesystemTarget) WriteStream(path string, stream io.Reader, mode os.FileMode) error {
|
||||
|
Reference in New Issue
Block a user