Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var QUERY = `SELECT files.path, files.hash, files.fs_modified, files.permissions, sizes.size, blob_entries.compression_alg FROM files INNER JOIN sizes ON sizes.hash = files.hash INNER JOIN blob_entries ON blob_entries.hash = files.hash WHERE (?1 >= files.start AND (files.end > ?1 OR files.end IS NULL)) AND files.path ` + db.StartsWithPattern(2)
Functions ¶
Types ¶
type CompressedFileHandle ¶
type CompressedFileHandle struct {
// contains filtered or unexported fields
}
func (*CompressedFileHandle) Read ¶
func (fh *CompressedFileHandle) Read(ctx context.Context, req *fuse.ReadRequest, resp *fuse.ReadResponse) error
func (*CompressedFileHandle) Release ¶
func (fh *CompressedFileHandle) Release(ctx context.Context, req *fuse.ReleaseRequest) error
type FileHandle ¶
type FileHandle interface{}
type UncompressedFileHandle ¶
type UncompressedFileHandle struct {
// contains filtered or unexported fields
}
func (*UncompressedFileHandle) Read ¶
func (fh *UncompressedFileHandle) Read(ctx context.Context, req *fuse.ReadRequest, resp *fuse.ReadResponse) error
Click to show internal directories.
Click to hide internal directories.