Path


Object Hierarchy:

Object hierarchy for Path

Description:

public class Path : Object

Path class is a value object that represents a file system path.

Path is immutable: methods that transform the path return a new Path instance rather than modifying the existing one.

Example:

    var path = new Path ("/home/user/docs/file.txt");
assert (path.extension () == ".txt");
assert (path.isAbsolute () == true);
assert (path.parent ().toString () == "/home/user/docs");


Namespace: Vala.Io
Package: Valacore

Content:

Static methods:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class GLib.Object