Documentation
¶
Index ¶
Constants ¶
const ( NativeErrorAccessDenied = osfs.NativeErrorAccessDenied NativeErrorSharingViolation = osfs.NativeErrorSharingViolation NativeErrorNotFound = osfs.NativeErrorNotFound NativeErrorInvalidHandle = osfs.NativeErrorInvalidHandle NativeErrorUnsupported = osfs.NativeErrorUnsupported NativeErrorIO = osfs.NativeErrorIO NativeErrorUnknown = osfs.NativeErrorUnknown )
Variables ¶
This section is empty.
Functions ¶
func Recovery ¶
Recovery binds no handles until an operation is invoked. Native list and discard each reacquire the selected destination and release it before return.
func SealOutputFailure ¶ added in v0.1.6
func SealOutputFailure(diagnostic OutputFailureDiagnostic) (error, bool)
SealOutputFailure seals value-only native evidence at the adapter boundary; engine consumers only observe the normalized application failure.
func ShareSource ¶
func ShareSource(paths []string) liveshare.FileSourceFactory
ShareSource freezes the selection, but opens roots only when the engine starts preparation. Descendant discovery remains demand-driven and engine-owned.
Types ¶
type FailureDetail ¶ added in v0.1.6
type FailureDetail struct {
Stage output.FailureStage
NativeErrorClass NativeErrorClass
}
FailureDetail retains provider OS error classes for host CLI rendering without making callers depend directly on osfs.
func FailureDetailFor ¶ added in v0.1.6
func FailureDetailFor(cause error) (FailureDetail, bool)
FailureDetailFor extracts native OS error classification from a sealed output or recovery failure.
func (FailureDetail) Valid ¶ added in v0.1.6
func (detail FailureDetail) Valid() bool
type FilesystemOutput ¶
FilesystemOutput adapts one caller-selected container to receive authority. Destination binding happens after clients have initialized their own presentation resources, and before any remote session is established.
func (FilesystemOutput) NewOutputAuthority ¶
type NativeErrorClass ¶ added in v0.1.6
type NativeErrorClass = osfs.NativeErrorClass
type OutputFailureDiagnostic ¶ added in v0.1.6
type OutputFailureDiagnostic struct {
Stage output.FailureStage
NativeErrorClass NativeErrorClass
Fault transferfault.Fault
}
OutputFailureDiagnostic holds value-only native failure evidence for sealing or presentation at the filesystem adapter boundary.
func (OutputFailureDiagnostic) Valid ¶ added in v0.1.6
func (diagnostic OutputFailureDiagnostic) Valid() bool