승인된 execution preset을 Edge 조정 경계와 Node workspace/tool 실행 경계로 연결해 단일 요청 수명주기와 관측 계약을 일관되게 처리한다.
26 lines
893 B
Go
26 lines
893 B
Go
//go:build !unix
|
|
|
|
package workspace
|
|
|
|
import (
|
|
"io/fs"
|
|
"os"
|
|
)
|
|
|
|
func platformFileIdentity(_ fs.FileInfo) (uint64, uint64, bool) { return 0, 0, false }
|
|
|
|
type writeParent struct{}
|
|
|
|
func openOrCreateParentNoFollow(_ *catalogEntry, _ string) (*writeParent, string, error) {
|
|
return nil, "", errUnsafePath
|
|
}
|
|
|
|
func (p *writeParent) close() error { return nil }
|
|
func (p *writeParent) targetIdentity(string) (targetIdentity, error) {
|
|
return targetIdentity{}, errUnsafePath
|
|
}
|
|
func (p *writeParent) createTemp(string) (*os.File, error) { return nil, errUnsafePath }
|
|
func (p *writeParent) remove(string) error { return errUnsafePath }
|
|
func (p *writeParent) rename(string, string) error { return errUnsafePath }
|
|
func (p *writeParent) sync() error { return errUnsafePath }
|
|
func (p *writeParent) revalidate() error { return errUnsafePath }
|