opa: github.com/open-policy-agent/opa/internal/file/url Index | Files

package url

import "github.com/open-policy-agent/opa/internal/file/url"

Package url contains helpers for dealing with file paths and URLs.


Package Files


func Clean Uses

func Clean(path string) (string, error)

Clean returns a cleaned file path that may or may not be a URL.

Package url imports 4 packages (graph) and is imported by 4 packages. Updated 2019-09-06. Refresh now. Tools for package owners.