Skip to main content

lfs

Overview

Namelfs
TypeResource
Idgithub.migrations.lfs

Fields

NameDatatype
oidstring
pathstring
ref_namestring
sizeinteger

Methods

NameAccessible byRequired ParamsDescription
get_large_filesSELECTowner, repoList files larger than 100MB found during the import

Warning: Support for importing Mercurial, Subversion and Team Foundation Version Control repositories will end
on October 17, 2023. For more details, see changelog. In the coming weeks, we will update
these docs to reflect relevant changes to the API and will contact all integrators using the "Source imports" API.
set_lfs_preferenceEXECowner, repo, data__use_lfsYou can import repositories from Subversion, Mercurial, and TFS that include files larger than 100MB. This ability
is powered by Git LFS.

You can learn more about our LFS feature and working with large files on our help
site
.

Warning: Support for importing Mercurial, Subversion and Team Foundation Version Control repositories will end
on October 17, 2023. For more details, see changelog. In the coming weeks, we will update
these docs to reflect relevant changes to the API and will contact all integrators using the "Source imports" API.