The micro-VM for AI agents — light enough to embed on your laptop, elastic enough to power an agentic cloud.
// Copyright 2026 BoxLite AI
// SPDX-License-Identifier: AGPL-3.0
//go:build !linux
package diskresize
import "context"
// defaultReadDeviceSize always reports the device as missing off Linux: the
// GCP data disk and its sysfs entry only exist on the Linux runner hosts.
func defaultReadDeviceSize(ctx context.Context, devicePath string) (uint64, error) {
return 0, ErrDeviceMissing
}
// defaultRunResize never runs off Linux for the same reason; the ticker stops
// at the missing-device skip before it can be reached.
func defaultRunResize(ctx context.Context, devicePath string) error {
return ErrDeviceMissing
}