path

moon add tonyfettes/path@0.2.2
Download zip
Version
0.2.2
License
Apache-2.0
Last updated
9 months ago
Downloads
24

Dependencies

README

#tonyfettes/path

#
ToPosix

pub trait ToPosix {
to_posix(Self) -> Posix
}

impl ToPosix for String
impl ToPosix for Bytes
impl ToPosix for Array[T]
impl ToPosix for ArrayView[T]

#
ToWindows

pub trait ToWindows {
to_windows(Self) -> Windows
}

impl ToWindows for String
impl ToWindows for Bytes
impl ToWindows for Array[T]
impl ToWindows for ArrayView[T]

#
Posix

type Posix

impl Compare for Posix
impl Eq for Posix
impl Hash for Posix
impl Show for Posix
impl ToJson for Posix
impl ToPosix for Posix
impl ToWindows for Posix

#
Posix::anchor

fn Posix::anchor(self : Posix) -> BytesView

#
Posix::join

fn[ToPosix : ToPosix] Posix::join(self : Posix, other : ToPosix) -> Posix

#
Posix::name

fn Posix::name(self : Posix) -> BytesView?

#
Posix::parent

fn Posix::parent(self : Posix) -> Posix?

#
Posix::parts

fn Posix::parts(self : Posix) -> Iter[BytesView]

#
Posix::relative_to

fn[ToPosix : ToPosix] Posix::relative_to(self : Posix, other : ToPosix) -> Posix

#
Posix::root

fn Posix::root(self : Posix) -> BytesView

#
Posix::suffix

fn Posix::suffix(self : Posix) -> BytesView?

#
Posix::to_bytes

fn Posix::to_bytes(self : Posix) -> Bytes

#
Windows

type Windows

impl Compare for Windows
impl Eq for Windows
impl Hash for Windows
impl Show for Windows
impl ToJson for Windows
impl ToPosix for Windows

#
Windows::anchor

fn Windows::anchor(self : Windows) -> BytesView

#
Windows::drive

fn Windows::drive(self : Windows) -> BytesView

#
Windows::join

fn Windows::join(self : Windows, other : Windows) -> Windows

#
Windows::name

fn Windows::name(self : Windows) -> BytesView?

#
Windows::parent

fn Windows::parent(self : Windows) -> Windows?

#
Windows::parts

fn Windows::parts(self : Windows) -> Iter[BytesView]

#
Windows::relative_to

fn[ToWindows : ToWindows] Windows::relative_to(self : Windows, other : ToWindows) -> Windows

#
Windows::root

fn Windows::root(self : Windows) -> BytesView

#
Windows::suffix

fn Windows::suffix(self : Windows) -> BytesView?

#
Windows::to_bytes

fn Windows::to_bytes(self : Windows) -> Bytes

#
posix

fn[ToPosix : ToPosix] posix(path : ToPosix) -> Posix

#
windows

fn[ToWindows : ToWindows] windows(path : ToWindows) -> Windows

Powered by MoonBit

Site sourceReport issuePackagesBuild queueSkillsStatistics

© 2026 mooncakes.io