shareid

package
v2.26.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// IDDelimiter is used to separate the providerid, spaceid and shareid
	IDDelimiter = ":"
)

Variables

This section is empty.

Functions

func Decode

func Decode(id string) (string, string, string)

Decode decodes an encoded shareid share ids are of the format <storageid>:<spaceid>:<shareid>

func Encode

func Encode(providerID, spaceID, shareID string) string

Encode encodes a share id

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL