def _TransformFileStorageDir(fs_dir):
  filestorage.CheckFileStoragePath(fs_dir)

  return os.path.normpath(fs_dir)
Checks whether given file_storage_dir is valid.
dataset/ETHPy150Open ganeti/ganeti/lib/backend.py/_TransformFileStorageDir