func (NotDirectoryFile) Link(target p9.File, newname string) error {
	return linux.ENOTDIR
}
Link implements p9.File.Link.
package templatefs
import (
	"github.com/hugelgupf/p9/internal/linux"
	"github.com/hugelgupf/p9/p9"
)
type NotSymlinkFile struct{}
func (NotSymlinkFile) Readlink() (string, error) {
	return "", linux.EINVAL
}
type NotDirectoryFile struct{}
func (NotDirectoryFile) Create(name string, mode p9.OpenFlags, permissions p9.FileMode, _ p9.UID, _ p9.GID) (p9.File, p9.QID, uint32, error) {
	return nil, p9.QID{}, 0, linux.ENOTDIR
}
func (NotDirectoryFile) Mkdir(name string, permissions p9.FileMode, _ p9.UID, _ p9.GID) (p9.QID, error) {
	return p9.QID{}, linux.ENOTDIR
}
func (NotDirectoryFile) Symlink(oldname string, newname string, _ p9.UID, _ p9.GID) (p9.QID, error) {
	return p9.QID{}, linux.ENOTDIR
}