mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-03-13 06:29:57 +01:00
14 lines
268 B
Go
14 lines
268 B
Go
|
//go:build !unix && (!windows || sqlite3_dotlk)
|
||
|
|
||
|
package vfs
|
||
|
|
||
|
import "os"
|
||
|
|
||
|
func osReadAt(file *os.File, p []byte, off int64) (int, error) {
|
||
|
return file.ReadAt(p, off)
|
||
|
}
|
||
|
|
||
|
func osWriteAt(file *os.File, p []byte, off int64) (int, error) {
|
||
|
return file.WriteAt(p, off)
|
||
|
}
|