// Copyright 2019 NetApp, Inc. All Rights Reserved. package utils import ( "errors" log "github.com/sirupsen/logrus" ) // The Trident build process builds the Trident CLI client for both linux and darwin. // At compile time golang will type checks the entire code base. Since the CLI is part // of the Trident code base this file exists to handle darwin specific code. func getFilesystemSize(path string) (int64, error) { log.Debug(">>>> osutils_darwin.getFilesystemSize") defer log.Debug("<<<< osutils_darwin.getFilesystemSize") return 0, errors.New("getFilesystemSize is not supported for darwin") } func getISCSIDiskSize(devicePath string) (int64, error) { log.Debug(">>>> osutils_darwin.getISCSIDiskSize") defer log.Debug("<<<< osutils_darwin.getISCSIDiskSize") return 0, errors.New("getBlockSize is not supported for darwin") }