def validate_file_path(path):
  _validate_path(path)
  if not _CS_FULLPATH_REGEX.match(path):
    raise ValueError('Path should have format /bucket/filename '
                     'but got %s' % path)
Validate a Google Storage file path.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/cloudstorage/common.py/validate_file_path