<commit_before>// Package fuse implements a stub.
// +build !linux

// The following comment is only here to make sure golint ignores this file:
// Code generated by me DO NOT EDIT.

// This package is intentend for platforms that do not offer fuse.
// It rebuilds the same API as the rest of the package with stubs.
package fuse

import (
	"errors"

	"github.com/sahib/brig/catfs"
	"github.com/sahib/config"
)

type Notifier interface {
	PublishEvent()
}

var ErrCompiledWithoutFuse = errors.New("brig was compiled without fuse support")

type MountOptions struct {
	ReadOnly bool
	Root     string
}

type Mount struct {
	Dir string
}

func NewMount(cfs *catfs.FS, mountpoint string, opts MountOptions) (*Mount, error) {
	return nil, ErrCompiledWithoutFuse
}

func (m *Mount) EqualOptions(opts MountOptions) bool {
	return false
}

func (m *Mount) Close() error {
	return ErrCompiledWithoutFuse
}

type MountTable struct{}

func NewMountTable(fs *catfs.FS) *MountTable {
	return nil
}

func (t *MountTable) AddMount(path string, opts MountOptions) (*Mount, error) {
	return nil, ErrCompiledWithoutFuse
}<commit_msg>fuse: fix stub implementation signatures<commit_after>// Package fuse implements a stub.
// +build !linux

// The following comment is only here to make sure golint ignores this file:
// Code generated by me DO NOT EDIT.

// This package is intentend for platforms that do not offer fuse.
// It rebuilds the same API as the rest of the package with stubs.
package fuse

import (
	"errors"

	"github.com/sahib/brig/catfs"
	"github.com/sahib/config"
)

type Notifier interface {
	PublishEvent()
}

var ErrCompiledWithoutFuse = errors.New("brig was compiled without fuse support")

type MountOptions struct {
	ReadOnly bool
	Root     string
}

type Mount struct {
	Dir string
}

func NewMount(cfs *catfs.FS, mountpoint string, opts MountOptions) (*Mount, error) {
	return nil, ErrCompiledWithoutFuse
}

func (m *Mount) EqualOptions(opts MountOptions) bool {
	return false
}

func (m *Mount) Close() error {
	return ErrCompiledWithoutFuse
}

type MountTable struct{}

func NewMountTable(fs *catfs.FS, notifier Notifier) *MountTable {
	return nil
}

func (t *MountTable) AddMount(path string, opts MountOptions) (*Mount, error) {
	return nil, ErrCompiledWithoutFuse
}
{'fraction_non_alphanumeric': 0.08867427568042142, 'fraction_numerical': 0.0, 'mean_word_length': 4.3623529411764705, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6088660', 'n_tokens_mistral': 729, 'n_tokens_neox': 712, 'n_words': 266}