Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

343 B
Raw Blame
// Package vfstest provides tests for VFS.
package vfstest

import (
	"os"

	"github.com/rclone/rclone/vfs"
)

// vfsOs is an implementation of Oser backed by the "vfs" package
type vfsOs struct {
	*vfs.VFS
}

// Stat
func (v vfsOs) Stat(path string) (os.FileInfo, error) {
	return v.VFS.Stat(path)
}

// Check interfaces
var _ Oser = vfsOs{}