github.com/ethersphere/bee/v2@v2.2.0/pkg/storage/storageutil/storageutil.go (about)

     1  // Copyright 2023 The Swarm Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package storageutil
     6  
     7  import (
     8  	"strings"
     9  )
    10  
    11  // JoinFields joins the given fields with a slash.
    12  func JoinFields(fields ...string) string {
    13  	return strings.Join(fields, "/")
    14  }