Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/willow_utils/src/paths/paths.ts

TypeScript typings and utilities for the Willow protocol.
Go to Latest
import * as willowUtils from "https://deno.land/x/willow_utils@0.8.0/src/paths/paths.ts";

Functions

Return the prefix shared by two Paths.

Decodes a path.

Decodes a Path relative to another Path.

Decodes an encoded path (which is streaming in).

Encodes the length of a Path.

Encodes a path.

Encodes a Path relative to another Path.

Returns whether a path is prefixed by another path.

Returns whether a Path does not exceed the limits given by a PathScheme.

Return all prefixes of a given path (which included the path itself), in order of path length.