Beispiel #1
0
def check_exists (	path,
					permissions):
	if __check_authentication ( path, 'r' , permissions ):
		if PALDatastore.stat( path ) is None :
			return False
		else:
			return True
	else:
		return False
Beispiel #2
0
def get_file_info(file_name):
	return PALDatastore.stat(file_name)