Files
snapd/gadget/device.go
Ian Johnson 4a499c68b7 gadget: add doc-comment, simplify constants and fix Copyright years
Thanks to Alberto and Samuele for the suggestions.

Signed-off-by: Ian Johnson <ian.johnson@canonical.com>
2022-01-27 14:13:56 -06:00

29 lines
895 B
Go

// -*- Mode: Go; indent-tabs-mode: t -*-
/*
* Copyright (C) 2022 Canonical Ltd
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package gadget
import "errors"
var (
ErrDeviceNotFound = errors.New("device not found")
ErrMountNotFound = errors.New("mount point not found")
ErrNoFilesystemDefined = errors.New("no filesystem defined")
)