Re: [Vala] Is there a built in method to expand path?



bsquared <bwcode4u gmail com> writes:

I have been searching, but can't find a built in method to expand a
relative path ('.', '../' etc.) or user's home ('~') like bash does.  

Does such a method exist?

I finally stumbled upon it.
GLib.File.parse_file(relative_path);

-- 
Regards,
Brian Winfrey




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]