Lines Matching defs:check
153 check, start = _get_check(filename, start, include, exclude)
154 yield filename, relfile, check, solo
169 def check():
173 return check, None
310 def is_readable(file, *, user=None, check=False):
312 if check:
323 def is_writable(file, *, user=None, check=False):
325 if check:
336 def is_executable(file, *, user=None, check=False):
338 if check:
366 def _check_file(filename, check):
368 raise Exception(f'filename required to check file, got {filename}')
369 if check & S_IRANY:
371 elif check & S_IWANY:
373 elif check & S_IXANY:
377 raise NotImplementedError(check)
414 def _check_mode(st, mode, check, user):
415 orig = check
417 if check & S_IRANY:
418 check -= S_IRANY
430 if check & S_IWANY:
431 check -= S_IWANY
443 if check & S_IXANY:
444 check -= S_IXANY
456 if check:
457 raise NotImplementedError((orig, check))