Subversion Repositories Kolibri OS

Rev

Rev 8383 | Rev 8750 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8383 Rev 8392
Line 219... Line 219...
219
	char buf[32];
219
	char buf[32];
220
	if (!ReadDir(0, #buf, fpath)) return true; 
220
	if (!ReadDir(0, #buf, fpath)) return true; 
221
	return false;
221
	return false;
222
}
222
}
Line -... Line 223...
-
 
223
 
-
 
224
:dword get_file_size(dword _path)
-
 
225
{
-
 
226
	BDVK bdvk;
-
 
227
	if (GetFileInfo(_path, #bdvk)!=0) return 0;
-
 
228
	else return bdvk.sizelo;
-
 
229
}
223
 
230
 
224
/*
231
/*
225
// This implementation of dir_exists() is faster than
232
// This implementation of dir_exists() is faster than
226
// previous but here virtual folders like
233
// previous but here virtual folders like
227
// '/' and '/tmp' are not recognised as FOLDERS
234
// '/' and '/tmp' are not recognised as FOLDERS