def _is_path_within_scope(scope, fullpath):
    if scope == '/':
        return fullpath is not None
    fullpath = fullpath.lstrip('/') if fullpath else ''
    scope = scope.strip('/')
    return (fullpath + '/').startswith(scope + '/')

# svn_opt_revision_t helpers
Returns all datastore entities from all namespaces as a list.
dataset/ETHPy150Open edgewall/trac/tracopt/versioncontrol/svn/svn_fs.py/_is_path_within_scope--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/dev_appserver.py/FetchAllEntitites