Skip to content

Commit 083392b

Browse files
author
Thomas Gilgenast
committed
update docstring
1 parent 8e7fb56 commit 083392b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

fsspec/implementations/github.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ class GithubFileSystem(AbstractFileSystem):
1616
repository. You may specify a point in the repos history, by SHA, branch
1717
or tag (default is current master).
1818
19-
Given that code files tend to be small, and that github does not support
20-
retrieving partial content, we always fetch whole files.
19+
For files less than 1 MB in size, file content is returned directly in a
20+
MemoryFile. For larger files, or for files tracked by git-lfs, file content
21+
is returned as an HTTPFile wrapping the ``download_url`` provided by the
22+
GitHub API.
2123
2224
When using fsspec.open, allows URIs of the form:
2325

0 commit comments

Comments
 (0)