On Mo, 2011-04-11 at 22:53 -0700, Charles Hixson wrote:
I can't figure out what I'm doing wrong, but
file_info.get_file_type always returns a value of 0
(i.e., UNKNOWN):
Yes, and it rightfully does. Because you don't query for it.
You want to query for
I can't figure out what I'm doing wrong, but
file_info.get_file_type always returns a value of 0
(i.e., UNKNOWN):
// valac --pkg gio-2.0 walker.vala
// ./walker
void walk (File directory)
{
try
{ var enumerator = directory.enumerate_children
On Mon, 2011-04-11 at 22:49 -0700, Charles Hixson wrote:
I can't figure out what I'm doing wrong, but
file_info.get_file_type always returns a value of 0
(i.e., UNKNOWN):
That's correct, becauseā¦
// valac --pkg gio-2.0 walker.vala
// ./walker