datalink

package
v0.0.0-debug-20260702 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2026 License: Apache-2.0 Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseDatalink(fsPath string, proc *process.Process) (string, []int64, error)

ParseDatalink extracts data from a Datalink string and returns the Mo FS url, []int{offset,size}, fileType and error Mo FS url: The URL that is used by MO FS to access the file offsetSize: The offset and size of the file to be read

Types

type Datalink struct {
	Url    *url.URL
	Offset int64
	Size   int64
	MoPath string
}
func NewDatalink(aurl string, proc *process.Process) (Datalink, error)

func (Datalink) GetBytes

func (d Datalink) GetBytes(proc *process.Process) ([]byte, error)

func (Datalink) GetPlainText

func (d Datalink) GetPlainText(proc *process.Process) ([]byte, error)

func (Datalink) NewReadCloser

func (d Datalink) NewReadCloser(proc *process.Process) (io.ReadCloser, error)

func (Datalink) NewWriter

func (d Datalink) NewWriter(proc *process.Process) (*fileservice.FileServiceWriter, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL