Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 346 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 346 Bytes

Path

Package path offers classes representing filesystem paths with semantics appropriate for different operating systems.

p := Wrap("/parent/stem.suffix")
print(p.Full)   // /parent/stem.suffix
print(p.Name)   //         stem.suffix
print(p.Parent) // /parent
print(p.Stem)   //         stem
print(p.Suffix) //             .suffix