def is_path_browsable(app, path, repository_id, is_admin=False):
 if (is_admin and is_path_within_dependency_dir(app, path)):
  return True
 return is_path_within_repo(app, path, repository_id)

def is_path_browsable ( app , path , repository_id , is_admin = False ) : if ( is_admin and is_path_within_dependency_dir ( app , path ) ) : return True return is_path_within_repo ( app , path , repository_id )
detects whether the given path is browsable i .