dot-is_absolute_path: Is a media url an absolute filesystem path?

.is_absolute_pathR Documentation

Is a media url an absolute filesystem path?

Description

Recognizes the forms an OTIO bundle can carry regardless of the OS it was authored on: POSIX absolute paths (leading /), Windows drive paths (C:\ or C:/), and UNC paths (leading backslash). Anything else is relative and gets resolved against media_dir. Deliberately platform-agnostic: a bundle written on Linux may be rendered on Windows and vice versa, so the test must not depend on .Platform$file.sep.

Usage

.is_absolute_path(url)

Arguments

url

A media reference url.

Value

TRUE if url is an absolute filesystem path.


compost documentation built on Aug. 4, 2026, 5:11 p.m.