1
0
Fork 0
mirror of https://github.com/vbatts/go-mtree.git synced 2025-07-19 13:00:27 +00:00

updatefunc: simplify the function signature

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2017-06-26 14:24:10 -04:00
parent 0b5038d0bc
commit 9408f0f4c0
Signed by: vbatts
GPG key ID: 10937E57733F1362
4 changed files with 17 additions and 17 deletions

View file

@ -4,6 +4,6 @@ package mtree
import "os"
func xattrUpdateKeywordFunc(keyword Keyword, path, value string) (os.FileInfo, error) {
func xattrUpdateKeywordFunc(path string, kv KeyVal) (os.FileInfo, error) {
return os.Lstat(path)
}