GitLabFile
Parameters
the GitLab repository
the branch or tag name
the directory path within the repository
the file name
the maximum time to wait for a connection (default 10 seconds)
the maximum time to wait for data once connected (default 30 seconds)
the maximum time for the whole fetch (default none); see UrlSource
the largest body accepted, in bytes (default no limit); see UrlSource
whether to follow HTTP redirects (default false); see UrlSource
Creates a GitLabFile with the default timeouts and limits.
Creates a GitLabFile with timeouts given as java.time.Duration and every limit, for Java callers: the constructor taking Kotlin durations cannot be called from Java.
Parameters
the GitLab repository
the branch or tag name
the directory path within the repository
the file name
the maximum time to wait for a connection
the maximum time to wait for data once connected
the maximum time for the whole fetch; java.time.Duration.ZERO means none
the largest body accepted, in bytes; Long.MAX_VALUE means no limit
whether to follow HTTP redirects