github.com/keybase/client/go@v0.0.0-20241007131713-f10651d043c8/kbfs/libkbfs/verify_local_block_id_devel.go (about)

     1  // Copyright 2020 Keybase Inc. All rights reserved.
     2  // Use of this source code is governed by a BSD
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build !production
     6  // +build !production
     7  
     8  package libkbfs
     9  
    10  import "github.com/keybase/client/go/kbfs/kbfsblock"
    11  
    12  func verifyLocalBlockIDMaybe(data []byte, id kbfsblock.ID) error {
    13  	return kbfsblock.VerifyID(data, id)
    14  }