output.NullSaver.Save   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 2
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nop 1
dl 0
loc 2
rs 10
c 0
b 0
f 0
1
package output
2
3
import "github.com/stefanoj3/dirstalk/pkg/scan"
4
5
func NewNullSaver() NullSaver {
6
	return NullSaver{}
7
}
8
9
type NullSaver struct{}
10
11
func (n NullSaver) Save(r scan.Result) error {
12
	return nil
13
}
14
15
func (n NullSaver) Close() error {
16
	return nil
17
}
18