Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FailureDiagnostic ¶
func FailureDiagnostic(cause error) (osfs.FilesystemOutputDiagnostic, bool)
FailureDiagnostic retains native evidence for host diagnostics without making the shared recovery model depend on filesystem-specific classifications.
func SealFilesystemOutputFailure ¶
func SealFilesystemOutputFailure(diagnostic osfs.FilesystemOutputDiagnostic) (error, bool)
SealFilesystemOutputFailure accepts value-only native evidence at the adapter boundary; engine consumers only see 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 FilesystemAuthority ¶
type FilesystemAuthority struct {
// contains filtered or unexported fields
}
func Recovery ¶
func Recovery(rootPath string) *FilesystemAuthority
Recovery binds no handles until an operation is invoked. Native list and discard each reacquire the selected destination and release it before return.
func (*FilesystemAuthority) Discard ¶
func (authority *FilesystemAuthority) Discard(ctx context.Context, id receivecontract.OperationID) (recovery.DiscardReport, error)
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.