files.com 1.1.827 → 1.1.829
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +16 -0
- data/_VERSION +1 -1
- data/doc/Files/APIConnectionError.html +1 -1
- data/doc/Files/APIError.html +1 -1
- data/doc/Files/AccountAlreadyExistsError.html +1 -1
- data/doc/Files/AccountLineItem.html +1 -1
- data/doc/Files/AccountOverdueError.html +1 -1
- data/doc/Files/Action.html +1 -1
- data/doc/Files/ActionLog.html +1 -1
- data/doc/Files/ActionNotificationExport.html +1 -1
- data/doc/Files/ActionNotificationExportResult.html +1 -1
- data/doc/Files/AdditionalAuthenticationRequiredError.html +1 -1
- data/doc/Files/AgentNode.html +1 -1
- data/doc/Files/AgentNodeConnection.html +1 -1
- data/doc/Files/AgentNodeInstance.html +1 -1
- data/doc/Files/AgentPushUpdate.html +1 -1
- data/doc/Files/AgentPushUpdateBlockedError.html +1 -1
- data/doc/Files/AgentUnavailableError.html +1 -1
- data/doc/Files/AgentUpgradeRequiredError.html +1 -1
- data/doc/Files/AiAssistantPersonality.html +1 -1
- data/doc/Files/AiTask.html +1 -1
- data/doc/Files/AiTaskCannotBeRunManuallyError.html +1 -1
- data/doc/Files/AlreadyCompletedError.html +1 -1
- data/doc/Files/Api.html +7 -5
- data/doc/Files/ApiClient/RequestLogContext.html +29 -29
- data/doc/Files/ApiClient/TransferSettings.html +29 -29
- data/doc/Files/ApiClient.html +210 -148
- data/doc/Files/ApiKey.html +1 -1
- data/doc/Files/ApiKeyIsDisabledError.html +1 -1
- data/doc/Files/ApiKeyIsPathRestrictedError.html +1 -1
- data/doc/Files/ApiKeyNotFoundError.html +1 -1
- data/doc/Files/ApiKeyOnlyForDesktopAppError.html +1 -1
- data/doc/Files/ApiKeyOnlyForFileOperationsError.html +1 -1
- data/doc/Files/ApiKeyOnlyForMobileAppError.html +1 -1
- data/doc/Files/ApiKeyOnlyForOfficeIntegrationError.html +1 -1
- data/doc/Files/ApiKeySessionsNotSupportedError.html +1 -1
- data/doc/Files/ApiRequestLog.html +1 -1
- data/doc/Files/App.html +1 -1
- data/doc/Files/As2IncomingMessage.html +1 -1
- data/doc/Files/As2OutgoingMessage.html +1 -1
- data/doc/Files/As2Partner.html +1 -1
- data/doc/Files/As2Station.html +1 -1
- data/doc/Files/AttachmentTooLargeError.html +1 -1
- data/doc/Files/AuthenticationError.html +1 -1
- data/doc/Files/AuthenticationRequiredError.html +1 -1
- data/doc/Files/Auto.html +1 -1
- data/doc/Files/Automation.html +1 -1
- data/doc/Files/AutomationAuthoringSchema.html +1 -1
- data/doc/Files/AutomationCannotBeRunManuallyError.html +1 -1
- data/doc/Files/AutomationExecutionNode.html +1 -1
- data/doc/Files/AutomationLog.html +1 -1
- data/doc/Files/AutomationRun.html +1 -1
- data/doc/Files/AutomationsUnavailableError.html +1 -1
- data/doc/Files/BadRequestError.html +1 -1
- data/doc/Files/BandwidthSnapshot.html +1 -1
- data/doc/Files/Behavior.html +1 -1
- data/doc/Files/BehaviorNotAllowedOnRemoteServerError.html +1 -1
- data/doc/Files/BillingInformationHiddenError.html +1 -1
- data/doc/Files/BillingPermissionRequiredError.html +1 -1
- data/doc/Files/BufferedUploadDisabledForThisDestinationError.html +1 -1
- data/doc/Files/Bundle.html +1 -1
- data/doc/Files/BundleAction.html +1 -1
- data/doc/Files/BundleDownload.html +1 -1
- data/doc/Files/BundleMaximumUsesReachedError.html +1 -1
- data/doc/Files/BundleNotification.html +1 -1
- data/doc/Files/BundleOnlyAllowsPreviewsError.html +1 -1
- data/doc/Files/BundleOperationRequiresSubfolderError.html +1 -1
- data/doc/Files/BundlePath.html +1 -1
- data/doc/Files/BundlePathNotFoundError.html +1 -1
- data/doc/Files/BundlePermissionRequiredError.html +1 -1
- data/doc/Files/BundleRecipient.html +1 -1
- data/doc/Files/BundleRegistration.html +1 -1
- data/doc/Files/BundleRegistrationCodeFailedError.html +1 -1
- data/doc/Files/BundleRegistrationNotFoundError.html +1 -1
- data/doc/Files/CannotAdministerHigherLevelUserError.html +1 -1
- data/doc/Files/CannotDownloadDirectoryError.html +1 -1
- data/doc/Files/CannotLoginWhileUsingKeyError.html +1 -1
- data/doc/Files/CantActForOtherUserError.html +1 -1
- data/doc/Files/CantMoveWithMultipleLocationsError.html +1 -1
- data/doc/Files/ChatMessage.html +1 -1
- data/doc/Files/ChatSession.html +1 -1
- data/doc/Files/ChildSiteManagementPolicy.html +1 -1
- data/doc/Files/Clickwrap.html +1 -1
- data/doc/Files/CodeNotFoundError.html +1 -1
- data/doc/Files/ConfigurationLockedPathError.html +1 -1
- data/doc/Files/ContactAdminForPasswordChangeHelpError.html +1 -1
- data/doc/Files/CouldNotCreateParentError.html +1 -1
- data/doc/Files/CustomDomain.html +1 -1
- data/doc/Files/DatetimeParseError.html +1 -1
- data/doc/Files/DesktopConfigurationProfile.html +1 -1
- data/doc/Files/DestinationExistsError.html +1 -1
- data/doc/Files/DestinationFolderLimitedError.html +1 -1
- data/doc/Files/DestinationParentConflictError.html +1 -1
- data/doc/Files/DestinationParentDoesNotExistError.html +1 -1
- data/doc/Files/DestinationSameError.html +1 -1
- data/doc/Files/DestinationSiteMismatchError.html +1 -1
- data/doc/Files/DirectConnectionInfo.html +1 -1
- data/doc/Files/DnsRecord.html +1 -1
- data/doc/Files/DoesNotSupportSortingError.html +1 -1
- data/doc/Files/DuplicateShareRecipientError.html +1 -1
- data/doc/Files/EmailIncomingMessage.html +1 -1
- data/doc/Files/EmailLog.html +1 -1
- data/doc/Files/Error.html +1 -1
- data/doc/Files/Errors.html +1 -1
- data/doc/Files/EventChannel.html +1 -1
- data/doc/Files/EventDeliveryAttempt.html +1 -1
- data/doc/Files/EventRecord.html +1 -1
- data/doc/Files/EventSubscription.html +1 -1
- data/doc/Files/EventTarget.html +1 -1
- data/doc/Files/ExavaultApiRequestLog.html +1 -1
- data/doc/Files/ExceededRuntimeLimitError.html +1 -1
- data/doc/Files/Expectation.html +1 -1
- data/doc/Files/ExpectationAlreadyHasOpenWindowError.html +1 -1
- data/doc/Files/ExpectationEvaluation.html +1 -1
- data/doc/Files/ExpectationIncident.html +1 -1
- data/doc/Files/ExpectationNotManualTriggerError.html +1 -1
- data/doc/Files/ExpiredPrivateKeyError.html +1 -1
- data/doc/Files/ExpiredPublicKeyError.html +1 -1
- data/doc/Files/ExportFailureError.html +1 -1
- data/doc/Files/ExportNotReadyError.html +1 -1
- data/doc/Files/ExternalEvent.html +1 -1
- data/doc/Files/FailedToChangePasswordError.html +1 -1
- data/doc/Files/File.html +1081 -1073
- data/doc/Files/FileAction.html +1 -1
- data/doc/Files/FileActionError.html +1 -1
- data/doc/Files/FileComment.html +1 -1
- data/doc/Files/FileCommentReaction.html +1 -1
- data/doc/Files/FileLockedError.html +1 -1
- data/doc/Files/FileMigration.html +1 -1
- data/doc/Files/FileMigrationLog.html +1 -1
- data/doc/Files/FileNotFoundError.html +1 -1
- data/doc/Files/FileNotUploadedError.html +1 -1
- data/doc/Files/FilePendingProcessingError.html +1 -1
- data/doc/Files/FileProcessingErrorError.html +1 -1
- data/doc/Files/FileTooBigToDecryptError.html +1 -1
- data/doc/Files/FileTooBigToEncryptError.html +1 -1
- data/doc/Files/FileUploadNotFoundError.html +1 -1
- data/doc/Files/FileUploadPart.html +1 -1
- data/doc/Files/FileUploadedToWrongRegionError.html +1 -1
- data/doc/Files/FileUtils.html +1 -1
- data/doc/Files/FilenameTooLongError.html +1 -1
- data/doc/Files/FilesAgentFailedAuthorizationError.html +1 -1
- data/doc/Files/FilesNativeStorageOverloadedError.html +1 -1
- data/doc/Files/Folder.html +1 -1
- data/doc/Files/FolderAdminOrBillingPermissionRequiredError.html +1 -1
- data/doc/Files/FolderAdminPermissionRequiredError.html +1 -1
- data/doc/Files/FolderLockedError.html +1 -1
- data/doc/Files/FolderMustNotBeAFileError.html +1 -1
- data/doc/Files/FolderNotEmptyError.html +1 -1
- data/doc/Files/FoldersNotAllowedError.html +1 -1
- data/doc/Files/FormField.html +1 -1
- data/doc/Files/FormFieldSet.html +1 -1
- data/doc/Files/FtpActionLog.html +1 -1
- data/doc/Files/FullPermissionRequiredError.html +1 -1
- data/doc/Files/GpgKey.html +1 -1
- data/doc/Files/Group.html +1 -1
- data/doc/Files/GroupNotFoundError.html +1 -1
- data/doc/Files/GroupUser.html +1 -1
- data/doc/Files/History.html +1 -1
- data/doc/Files/HistoryExport.html +1 -1
- data/doc/Files/HistoryExportResult.html +1 -1
- data/doc/Files/HistoryPermissionRequiredError.html +1 -1
- data/doc/Files/HistoryUnavailableError.html +1 -1
- data/doc/Files/HolidayCalendar.html +1 -1
- data/doc/Files/HolidayRegion.html +1 -1
- data/doc/Files/Image.html +1 -1
- data/doc/Files/InAppAiAssistantUnavailableError.html +1 -1
- data/doc/Files/InboundS3Log.html +1 -1
- data/doc/Files/InboxNotFoundError.html +1 -1
- data/doc/Files/InboxRecipient.html +1 -1
- data/doc/Files/InboxRegistration.html +1 -1
- data/doc/Files/InboxRegistrationCodeFailedError.html +1 -1
- data/doc/Files/InboxUpload.html +1 -1
- data/doc/Files/InsufficientPermissionForParamsError.html +1 -1
- data/doc/Files/InsufficientPermissionForSiteError.html +1 -1
- data/doc/Files/IntegrationCentricProfile.html +1 -1
- data/doc/Files/InternalGeneralErrorError.html +1 -1
- data/doc/Files/InvalidBodyError.html +1 -1
- data/doc/Files/InvalidBundleCodeError.html +1 -1
- data/doc/Files/InvalidCredentialsError.html +1 -1
- data/doc/Files/InvalidCursorError.html +1 -1
- data/doc/Files/InvalidCursorTypeForSortError.html +1 -1
- data/doc/Files/InvalidEtagsError.html +1 -1
- data/doc/Files/InvalidFileTypeError.html +1 -1
- data/doc/Files/InvalidFilenameError.html +1 -1
- data/doc/Files/InvalidFilterAliasCombinationError.html +1 -1
- data/doc/Files/InvalidFilterFieldError.html +1 -1
- data/doc/Files/InvalidFilterParamError.html +1 -1
- data/doc/Files/InvalidFilterParamFormatError.html +1 -1
- data/doc/Files/InvalidFilterParamValueError.html +1 -1
- data/doc/Files/InvalidInputEncodingError.html +1 -1
- data/doc/Files/InvalidInterfaceError.html +1 -1
- data/doc/Files/InvalidOauthError.html +1 -1
- data/doc/Files/InvalidOauthProviderError.html +1 -1
- data/doc/Files/InvalidOrExpiredCodeError.html +1 -1
- data/doc/Files/InvalidParameterError.html +1 -1
- data/doc/Files/InvalidPathError.html +1 -1
- data/doc/Files/InvalidPriorityColorError.html +1 -1
- data/doc/Files/InvalidRangeError.html +1 -1
- data/doc/Files/InvalidReturnToUrlError.html +1 -1
- data/doc/Files/InvalidSearchQueryError.html +1 -1
- data/doc/Files/InvalidSessionError.html +1 -1
- data/doc/Files/InvalidSiteError.html +1 -1
- data/doc/Files/InvalidSortFieldError.html +1 -1
- data/doc/Files/InvalidSortFilterCombinationError.html +1 -1
- data/doc/Files/InvalidUploadOffsetError.html +1 -1
- data/doc/Files/InvalidUploadPartGapError.html +1 -1
- data/doc/Files/InvalidUploadPartSizeError.html +1 -1
- data/doc/Files/InvalidUsernameOrPasswordError.html +1 -1
- data/doc/Files/InvalidWorkspaceIdHeaderError.html +1 -1
- data/doc/Files/InvalidZipFileError.html +1 -1
- data/doc/Files/Invoice.html +1 -1
- data/doc/Files/InvoiceLineItem.html +1 -1
- data/doc/Files/IpAddress.html +1 -1
- data/doc/Files/KeyLifecycleRule.html +1 -1
- data/doc/Files/List.html +1 -1
- data/doc/Files/Lock.html +1 -1
- data/doc/Files/LockOperationBusyError.html +1 -1
- data/doc/Files/LockedOutError.html +1 -1
- data/doc/Files/LockoutRegionMismatchError.html +1 -1
- data/doc/Files/MetadataCategory.html +1 -1
- data/doc/Files/MetadataNotSupportedOnRemotesError.html +1 -1
- data/doc/Files/MethodNotAllowedError.html +1 -1
- data/doc/Files/MigrationInProgressError.html +1 -1
- data/doc/Files/MissingParameterError.html +1 -1
- data/doc/Files/ModelSaveErrorError.html +1 -1
- data/doc/Files/MoverAccessDeniedError.html +1 -1
- data/doc/Files/MoverPackageRequiredError.html +1 -1
- data/doc/Files/MultipleProcessingErrorsError.html +1 -1
- data/doc/Files/MultipleSortParamsNotAllowedError.html +1 -1
- data/doc/Files/MustAuthenticateWithApiKeyError.html +1 -1
- data/doc/Files/NeedAdminPermissionForInboxError.html +1 -1
- data/doc/Files/NestedNotFoundError.html +1 -1
- data/doc/Files/NoAccountForSiteError.html +1 -1
- data/doc/Files/NoValidInputParamsError.html +1 -1
- data/doc/Files/NonAdminsMustQueryByFolderOrPathError.html +1 -1
- data/doc/Files/NotAllowedToCreateBundleError.html +1 -1
- data/doc/Files/NotAuthenticatedError.html +1 -1
- data/doc/Files/NotAuthorizedError.html +1 -1
- data/doc/Files/NotEnqueuableSyncError.html +1 -1
- data/doc/Files/NotFoundError.html +1 -1
- data/doc/Files/NotImplementedError.html +1 -1
- data/doc/Files/Notification.html +1 -1
- data/doc/Files/OffsetUploadNotAllowedWithMalwareScanningError.html +1 -1
- data/doc/Files/OneTimePasswordIncorrectError.html +1 -1
- data/doc/Files/OutboundConnectionLog.html +1 -1
- data/doc/Files/PartNumberTooLargeError.html +1 -1
- data/doc/Files/Partner.html +1 -1
- data/doc/Files/PartnerChannel.html +1 -1
- data/doc/Files/PartnerChannelTemplate.html +1 -1
- data/doc/Files/PartnerConnection.html +1 -1
- data/doc/Files/PartnerSite.html +1 -1
- data/doc/Files/PartnerSiteRequest.html +1 -1
- data/doc/Files/PasswordChangeNotRequiredError.html +1 -1
- data/doc/Files/PasswordChangeRequiredError.html +1 -1
- data/doc/Files/PathCannotHaveTrailingWhitespaceError.html +1 -1
- data/doc/Files/PathTooLongError.html +1 -1
- data/doc/Files/PathUtil.html +1 -1
- data/doc/Files/Payment.html +1 -1
- data/doc/Files/PaymentLineItem.html +1 -1
- data/doc/Files/PaymentMethodErrorError.html +1 -1
- data/doc/Files/PendingWorkEvent.html +1 -1
- data/doc/Files/Permission.html +1 -1
- data/doc/Files/PlanNotFoundError.html +1 -1
- data/doc/Files/Preview.html +1 -1
- data/doc/Files/PreviewOnlyPermissionCannotDownloadError.html +1 -1
- data/doc/Files/ProcessingFailureError.html +1 -1
- data/doc/Files/PublicHostingRequestLog.html +1 -1
- data/doc/Files/PublicIpAddress.html +1 -1
- data/doc/Files/PublicKey.html +1 -1
- data/doc/Files/RateLimitedError.html +1 -1
- data/doc/Files/ReadOnlySessionError.html +1 -1
- data/doc/Files/ReadPermissionRequiredError.html +1 -1
- data/doc/Files/ReauthenticationFailedError.html +1 -1
- data/doc/Files/ReauthenticationFailedFinalError.html +1 -1
- data/doc/Files/ReauthenticationNeededActionError.html +1 -1
- data/doc/Files/ReauthenticationNeededFieldsError.html +1 -1
- data/doc/Files/ReauthenticationRateLimitedError.html +1 -1
- data/doc/Files/RecaptchaFailedError.html +1 -1
- data/doc/Files/RecipientAlreadySharedError.html +1 -1
- data/doc/Files/RemoteBandwidthSnapshot.html +1 -1
- data/doc/Files/RemoteDesktopDebugLoggingDisabledError.html +1 -1
- data/doc/Files/RemoteEntryReadOnlyError.html +1 -1
- data/doc/Files/RemoteMountBackend.html +1 -1
- data/doc/Files/RemoteServer.html +1 -1
- data/doc/Files/RemoteServerConfigurationFile.html +1 -1
- data/doc/Files/RemoteServerCredential.html +1 -1
- data/doc/Files/RemoteServerErrorError.html +1 -1
- data/doc/Files/Request.html +1 -1
- data/doc/Files/RequestBodyTooLargeError.html +1 -1
- data/doc/Files/RequestParamsContainInvalidCharacterError.html +1 -1
- data/doc/Files/RequestParamsInvalidError.html +1 -1
- data/doc/Files/RequestParamsRequiredError.html +1 -1
- data/doc/Files/ResourceBelongsToParentSiteError.html +1 -1
- data/doc/Files/ResourceLockedError.html +1 -1
- data/doc/Files/Response.html +1 -1
- data/doc/Files/Restore.html +1 -1
- data/doc/Files/RootFolderBehaviorSiteAdminRequiredError.html +1 -1
- data/doc/Files/RootFolderBehaviorSkipSiteAdminRequiredError.html +1 -1
- data/doc/Files/Schedule.html +1 -1
- data/doc/Files/ScheduledExport.html +1 -1
- data/doc/Files/ScimLog.html +1 -1
- data/doc/Files/SearchAllOnChildPathError.html +1 -1
- data/doc/Files/SearchUnavailableError.html +1 -1
- data/doc/Files/Secret.html +1 -1
- data/doc/Files/SelfManagedRequiredError.html +1 -1
- data/doc/Files/ServiceUnavailableError.html +1 -1
- data/doc/Files/Session.html +1 -1
- data/doc/Files/SettingsChange.html +1 -1
- data/doc/Files/SftpActionLog.html +1 -1
- data/doc/Files/SftpHostKey.html +1 -1
- data/doc/Files/ShareGroup.html +1 -1
- data/doc/Files/ShareGroupMember.html +1 -1
- data/doc/Files/SiemHttpDestination.html +1 -1
- data/doc/Files/SiemHttpDestinationEvent.html +1 -1
- data/doc/Files/Site.html +1 -1
- data/doc/Files/SiteAdminOrPartnerAdminPermissionRequiredError.html +1 -1
- data/doc/Files/SiteAdminOrWorkspaceAdminOrFolderAdminPermissionRequiredError.html +1 -1
- data/doc/Files/SiteAdminOrWorkspaceAdminOrPartnerAdminOrFolderAdminPermissionRequiredError.html +1 -1
- data/doc/Files/SiteAdminOrWorkspaceAdminOrPartnerAdminPermissionRequiredError.html +1 -1
- data/doc/Files/SiteAdminOrWorkspaceAdminPermissionRequiredError.html +1 -1
- data/doc/Files/SiteAdminRequiredError.html +1 -1
- data/doc/Files/SiteConfigurationError.html +1 -1
- data/doc/Files/SiteDisabledError.html +1 -1
- data/doc/Files/SiteFilesAreImmutableError.html +1 -1
- data/doc/Files/SiteNotFoundError.html +1 -1
- data/doc/Files/SiteSubdomainRedirect.html +1 -1
- data/doc/Files/SiteWasRemovedError.html +1 -1
- data/doc/Files/SizableIO.html +1 -1
- data/doc/Files/Snapshot.html +1 -1
- data/doc/Files/SsoEvent.html +1 -1
- data/doc/Files/SsoStrategy.html +1 -1
- data/doc/Files/Status.html +1 -1
- data/doc/Files/Style.html +1 -1
- data/doc/Files/SubfolderLockedError.html +1 -1
- data/doc/Files/Sync.html +1 -1
- data/doc/Files/SyncInProgressError.html +1 -1
- data/doc/Files/SyncLog.html +1 -1
- data/doc/Files/SyncRun.html +1 -1
- data/doc/Files/SyncRunLiveTransfer.html +1 -1
- data/doc/Files/SystemProfiler.html +1 -1
- data/doc/Files/TooManyConcurrentLoginsError.html +1 -1
- data/doc/Files/TooManyConcurrentRequestsError.html +1 -1
- data/doc/Files/TooManyLoginAttemptsError.html +1 -1
- data/doc/Files/TooManyRequestsError.html +1 -1
- data/doc/Files/TooManySharesError.html +1 -1
- data/doc/Files/Transfer/Attempts.html +88 -18
- data/doc/Files/Transfer/BufferLimitError.html +1 -1
- data/doc/Files/Transfer/ByteBudget/Reservation.html +1 -1
- data/doc/Files/Transfer/ByteBudget.html +1 -1
- data/doc/Files/Transfer/CancelledError.html +1 -1
- data/doc/Files/Transfer/Checkpoint.html +1 -1
- data/doc/Files/Transfer/CheckpointError.html +1 -1
- data/doc/Files/Transfer/ClientTransport/ClientResponse.html +36 -36
- data/doc/Files/Transfer/ClientTransport/Reader.html +33 -29
- data/doc/Files/Transfer/ClientTransport.html +34 -34
- data/doc/Files/Transfer/Clock.html +1 -1
- data/doc/Files/Transfer/Control.html +1 -1
- data/doc/Files/Transfer/Controller/Attempt.html +1 -1
- data/doc/Files/Transfer/Controller.html +1 -1
- data/doc/Files/Transfer/Coordinator/Timing.html +1 -1
- data/doc/Files/Transfer/Coordinator.html +1 -1
- data/doc/Files/Transfer/DownloadCoordinator/FileSink.html +134 -60
- data/doc/Files/Transfer/DownloadCoordinator/IoSink.html +152 -77
- data/doc/Files/Transfer/DownloadCoordinator/Piece.html +37 -37
- data/doc/Files/Transfer/DownloadCoordinator.html +85 -70
- data/doc/Files/Transfer/DownloadDate.html +467 -0
- data/doc/Files/Transfer/FileSlots.html +1 -1
- data/doc/Files/Transfer/FrontendResponseError.html +1 -1
- data/doc/Files/Transfer/Holds.html +1 -1
- data/doc/Files/Transfer/HttpTransport.html +13 -12
- data/doc/Files/Transfer/Job.html +1 -1
- data/doc/Files/Transfer/Options.html +1 -1
- data/doc/Files/Transfer/PausedError.html +1 -1
- data/doc/Files/Transfer/Policy.html +1 -1
- data/doc/Files/Transfer/RequestPermits.html +1 -1
- data/doc/Files/Transfer/SourceChangedError.html +1 -1
- data/doc/Files/Transfer/StorageResponse.html +1 -1
- data/doc/Files/Transfer/StorageRetry.html +259 -102
- data/doc/Files/Transfer/UploadCoordinator/Grant.html +1 -1
- data/doc/Files/Transfer/UploadCoordinator/Part.html +1 -1
- data/doc/Files/Transfer/UploadCoordinator/Region.html +1 -1
- data/doc/Files/Transfer/UploadCoordinator/Segments.html +1 -1
- data/doc/Files/Transfer/UploadCoordinator/Source.html +1 -1
- data/doc/Files/Transfer/UploadCoordinator/StreamSource.html +1 -1
- data/doc/Files/Transfer/UploadCoordinator.html +1 -1
- data/doc/Files/Transfer/UploadPlan.html +1 -1
- data/doc/Files/Transfer/UrlExpired.html +1 -1
- data/doc/Files/Transfer/VersionChangedError.html +1 -1
- data/doc/Files/Transfer.html +3 -3
- data/doc/Files/TrialExpiredError.html +1 -1
- data/doc/Files/TrialLockedError.html +1 -1
- data/doc/Files/TwoFactorAuthenticationCodeAlreadySentError.html +1 -1
- data/doc/Files/TwoFactorAuthenticationCountryBlacklistedError.html +1 -1
- data/doc/Files/TwoFactorAuthenticationErrorError.html +1 -1
- data/doc/Files/TwoFactorAuthenticationGeneralErrorError.html +1 -1
- data/doc/Files/TwoFactorAuthenticationMethodUnsupportedErrorError.html +1 -1
- data/doc/Files/TwoFactorAuthenticationRequiredError.html +1 -1
- data/doc/Files/TwoFactorAuthenticationSetupExpiredError.html +1 -1
- data/doc/Files/TwoFactorAuthenticationUnsubscribedRecipientError.html +1 -1
- data/doc/Files/URI.html +1 -1
- data/doc/Files/UnrecognizedSortIndexError.html +1 -1
- data/doc/Files/UnsupportedCurrencyError.html +1 -1
- data/doc/Files/UnsupportedHttpResponseFormatError.html +1 -1
- data/doc/Files/UnsupportedMediaTypeError.html +1 -1
- data/doc/Files/UpdatesNotAllowedForRemotesError.html +1 -1
- data/doc/Files/UploadFinalization.html +1 -1
- data/doc/Files/UploadsUnavailableError.html +1 -1
- data/doc/Files/UsageByTopLevelDir.html +1 -1
- data/doc/Files/UsageDailySnapshot.html +1 -1
- data/doc/Files/UsageSnapshot.html +1 -1
- data/doc/Files/User.html +1 -1
- data/doc/Files/UserAdditionalEmailRecipient.html +1 -1
- data/doc/Files/UserCipherUse.html +1 -1
- data/doc/Files/UserIdInvalidError.html +1 -1
- data/doc/Files/UserIdOnUserEndpointError.html +1 -1
- data/doc/Files/UserIdWithoutSiteAdminError.html +1 -1
- data/doc/Files/UserLifecycleRule.html +1 -1
- data/doc/Files/UserNotFoundError.html +1 -1
- data/doc/Files/UserRequest.html +1 -1
- data/doc/Files/UserRequestsEnabledRequiredError.html +1 -1
- data/doc/Files/UserRequiredError.html +1 -1
- data/doc/Files/UserSecurityEvent.html +1 -1
- data/doc/Files/UserSftpClientUse.html +1 -1
- data/doc/Files/Util/LogSettings.html +1 -1
- data/doc/Files/Util.html +1 -1
- data/doc/Files/WebDavActionLog.html +1 -1
- data/doc/Files/WebhookTest.html +1 -1
- data/doc/Files/Workspace.html +1 -1
- data/doc/Files/WriteAndBundlePermissionRequiredError.html +1 -1
- data/doc/Files/WritePermissionRequiredError.html +1 -1
- data/doc/Files/ZipListEntry.html +1 -1
- data/doc/Files.html +167 -101
- data/doc/_index.html +8 -1
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +11 -2
- data/doc/index.html +11 -2
- data/doc/method_list.html +2815 -2727
- data/doc/top-level-namespace.html +1 -1
- data/docs/file.md +21 -5
- data/lib/files.com/api.rb +1 -0
- data/lib/files.com/api_client.rb +23 -2
- data/lib/files.com/models/file.rb +11 -7
- data/lib/files.com/transfer/attempts.rb +3 -2
- data/lib/files.com/transfer/download_coordinator.rb +104 -16
- data/lib/files.com/transfer/download_date.rb +44 -0
- data/lib/files.com/transfer/http_transport.rb +14 -9
- data/lib/files.com/transfer/storage_retry.rb +22 -4
- data/lib/files.com.rb +3 -0
- data/spec/models/native_file_spec.rb +4 -2
- data/spec/transfer/adaptive_download_spec.rb +335 -4
- metadata +3 -1
|
@@ -294,7 +294,7 @@ of its body to on_data as Net::HTTP reads it, holding none of it, with any optio
|
|
|
294
294
|
<li class="public ">
|
|
295
295
|
<span class="summary_signature">
|
|
296
296
|
|
|
297
|
-
<a href="#perform-instance_method" title="#perform (instance method)">#<strong>perform</strong>(method, url, headers, _connections, body: nil, length: nil, timing: nil, &on_success) ⇒ Object </a>
|
|
297
|
+
<a href="#perform-instance_method" title="#perform (instance method)">#<strong>perform</strong>(method, url, headers, _connections, body: nil, length: nil, timing: nil, on_error_chunk: nil, &on_success) ⇒ Object </a>
|
|
298
298
|
|
|
299
299
|
|
|
300
300
|
|
|
@@ -366,15 +366,15 @@ of its body to on_data as Net::HTTP reads it, holding none of it, with any optio
|
|
|
366
366
|
<pre class="lines">
|
|
367
367
|
|
|
368
368
|
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
369
|
+
280
|
|
370
|
+
281
|
|
371
|
+
282
|
|
372
|
+
283
|
|
373
|
+
284
|
|
374
|
+
285</pre>
|
|
375
375
|
</td>
|
|
376
376
|
<td>
|
|
377
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/http_transport.rb', line
|
|
377
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/http_transport.rb', line 280</span>
|
|
378
378
|
|
|
379
379
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_client'>client</span><span class='rparen'>)</span>
|
|
380
380
|
<span class='ivar'>@client</span> <span class='op'>=</span> <span class='id identifier rubyid_client'>client</span>
|
|
@@ -418,12 +418,12 @@ of its body to on_data as Net::HTTP reads it, holding none of it, with any optio
|
|
|
418
418
|
<pre class="lines">
|
|
419
419
|
|
|
420
420
|
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
421
|
+
276
|
|
422
|
+
277
|
|
423
|
+
278</pre>
|
|
424
424
|
</td>
|
|
425
425
|
<td>
|
|
426
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/http_transport.rb', line
|
|
426
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/http_transport.rb', line 276</span>
|
|
427
427
|
|
|
428
428
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_names'>names</span><span class='lparen'>(</span><span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
|
429
429
|
<span class='lparen'>(</span><span class='id identifier rubyid_headers'>headers</span> <span class='op'>||</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_each_with_object'>each_with_object</span><span class='lparen'>(</span><span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='id identifier rubyid_all'>all</span><span class='op'>|</span> <span class='id identifier rubyid_all'>all</span><span class='lbracket'>[</span><span class='id identifier rubyid_name'>name</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='period'>.</span><span class='id identifier rubyid_downcase'>downcase</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='lbracket'>[</span> <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='rbracket'>]</span> <span class='rbrace'>}</span>
|
|
@@ -470,13 +470,13 @@ of its body to on_data as Net::HTTP reads it, holding none of it, with any optio
|
|
|
470
470
|
<pre class="lines">
|
|
471
471
|
|
|
472
472
|
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
473
|
+
168
|
|
474
|
+
169
|
|
475
|
+
170
|
|
476
|
+
171</pre>
|
|
477
477
|
</td>
|
|
478
478
|
<td>
|
|
479
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/http_transport.rb', line
|
|
479
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/http_transport.rb', line 168</span>
|
|
480
480
|
|
|
481
481
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_streams?'>streams?</span><span class='lparen'>(</span><span class='id identifier rubyid_client'>client</span><span class='rparen'>)</span>
|
|
482
482
|
<span class='id identifier rubyid_conn'>conn</span> <span class='op'>=</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_respond_to?'>respond_to?</span><span class='lparen'>(</span><span class='symbol'>:conn</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_conn'>conn</span> <span class='op'>:</span> <span class='kw'>nil</span>
|
|
@@ -508,10 +508,10 @@ of its body to on_data as Net::HTTP reads it, holding none of it, with any optio
|
|
|
508
508
|
<pre class="lines">
|
|
509
509
|
|
|
510
510
|
|
|
511
|
-
|
|
511
|
+
321</pre>
|
|
512
512
|
</td>
|
|
513
513
|
<td>
|
|
514
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/http_transport.rb', line
|
|
514
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/http_transport.rb', line 321</span>
|
|
515
515
|
|
|
516
516
|
<span class='kw'>def</span> <span class='id identifier rubyid_close_all'>close_all</span><span class='lparen'>(</span><span class='id identifier rubyid__connections'>_connections</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
|
517
517
|
</td>
|
|
@@ -522,7 +522,7 @@ of its body to on_data as Net::HTTP reads it, holding none of it, with any optio
|
|
|
522
522
|
<div class="method_details ">
|
|
523
523
|
<h3 class="signature " id="perform-instance_method">
|
|
524
524
|
|
|
525
|
-
#<strong>perform</strong>(method, url, headers, _connections, body: nil, length: nil, timing: nil, &on_success) ⇒ <tt>Object</tt>
|
|
525
|
+
#<strong>perform</strong>(method, url, headers, _connections, body: nil, length: nil, timing: nil, on_error_chunk: nil, &on_success) ⇒ <tt>Object</tt>
|
|
526
526
|
|
|
527
527
|
|
|
528
528
|
|
|
@@ -543,11 +543,6 @@ of its body to on_data as Net::HTTP reads it, holding none of it, with any optio
|
|
|
543
543
|
<pre class="lines">
|
|
544
544
|
|
|
545
545
|
|
|
546
|
-
287
|
|
547
|
-
288
|
|
548
|
-
289
|
|
549
|
-
290
|
|
550
|
-
291
|
|
551
546
|
292
|
|
552
547
|
293
|
|
553
548
|
294
|
|
@@ -570,16 +565,21 @@ of its body to on_data as Net::HTTP reads it, holding none of it, with any optio
|
|
|
570
565
|
311
|
|
571
566
|
312
|
|
572
567
|
313
|
|
573
|
-
314
|
|
568
|
+
314
|
|
569
|
+
315
|
|
570
|
+
316
|
|
571
|
+
317
|
|
572
|
+
318
|
|
573
|
+
319</pre>
|
|
574
574
|
</td>
|
|
575
575
|
<td>
|
|
576
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/http_transport.rb', line
|
|
576
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/http_transport.rb', line 292</span>
|
|
577
577
|
|
|
578
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_perform'>perform</span><span class='lparen'>(</span><span class='id identifier rubyid_method'>method</span><span class='comma'>,</span> <span class='id identifier rubyid_url'>url</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='comma'>,</span> <span class='id identifier rubyid__connections'>_connections</span><span class='comma'>,</span> <span class='label'>body:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>length:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>timing:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_on_success'>on_success</span><span class='rparen'>)</span>
|
|
578
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_perform'>perform</span><span class='lparen'>(</span><span class='id identifier rubyid_method'>method</span><span class='comma'>,</span> <span class='id identifier rubyid_url'>url</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='comma'>,</span> <span class='id identifier rubyid__connections'>_connections</span><span class='comma'>,</span> <span class='label'>body:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>length:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>timing:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>on_error_chunk:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_on_success'>on_success</span><span class='rparen'>)</span>
|
|
579
579
|
<span class='id identifier rubyid_raise'>raise</span> <span class='const'>ArgumentError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>a client transfer sends a String body of </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_length'>length</span><span class='embexpr_end'>}</span><span class='tstring_content'> bytes</span><span class='tstring_end'>"</span></span> <span class='kw'>unless</span> <span class='id identifier rubyid_body'>body</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>||</span> <span class='id identifier rubyid_body'>body</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>String</span><span class='rparen'>)</span>
|
|
580
580
|
|
|
581
581
|
<span class='ivar'>@lock</span><span class='period'>.</span><span class='id identifier rubyid_synchronize'>synchronize</span> <span class='kw'>do</span>
|
|
582
|
-
<span class='id identifier rubyid_reader'>reader</span> <span class='op'>=</span> <span class='id identifier rubyid_on_success'>on_success</span> <span class='op'>&&</span> <span class='const'><span class='object_link'><a href="ClientTransport/Reader.html" title="Files::Transfer::ClientTransport::Reader (class)">Reader</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="ClientTransport/Reader.html#initialize-instance_method" title="Files::Transfer::ClientTransport::Reader#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_on_success'>on_success</span><span class='comma'>,</span> <span class='id identifier rubyid_timing'>timing</span><span class='rparen'>)</span>
|
|
582
|
+
<span class='id identifier rubyid_reader'>reader</span> <span class='op'>=</span> <span class='id identifier rubyid_on_success'>on_success</span> <span class='op'>&&</span> <span class='const'><span class='object_link'><a href="ClientTransport/Reader.html" title="Files::Transfer::ClientTransport::Reader (class)">Reader</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="ClientTransport/Reader.html#initialize-instance_method" title="Files::Transfer::ClientTransport::Reader#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_on_success'>on_success</span><span class='comma'>,</span> <span class='id identifier rubyid_timing'>timing</span><span class='comma'>,</span> <span class='id identifier rubyid_on_error_chunk'>on_error_chunk</span><span class='rparen'>)</span>
|
|
583
583
|
<span class='id identifier rubyid_timing'>timing</span><span class='op'>&.</span><span class='id identifier rubyid_sending'>sending</span>
|
|
584
584
|
<span class='kw'>begin</span>
|
|
585
585
|
<span class='id identifier rubyid_response'>response</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../ApiClient.html" title="Files::ApiClient (class)">ApiClient</a></span></span><span class='period'>.</span><span class='id identifier rubyid_single_attempt'><span class='object_link'><a href="../ApiClient.html#single_attempt-class_method" title="Files::ApiClient.single_attempt (method)">single_attempt</a></span></span> <span class='kw'>do</span>
|
|
@@ -645,12 +645,12 @@ of its body to on_data as Net::HTTP reads it, holding none of it, with any optio
|
|
|
645
645
|
<pre class="lines">
|
|
646
646
|
|
|
647
647
|
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
648
|
+
287
|
|
649
|
+
288
|
|
650
|
+
289</pre>
|
|
651
651
|
</td>
|
|
652
652
|
<td>
|
|
653
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/http_transport.rb', line
|
|
653
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/http_transport.rb', line 287</span>
|
|
654
654
|
|
|
655
655
|
<span class='kw'>def</span> <span class='id identifier rubyid_serialized?'>serialized?</span>
|
|
656
656
|
<span class='kw'>true</span>
|
|
@@ -665,7 +665,7 @@ of its body to on_data as Net::HTTP reads it, holding none of it, with any optio
|
|
|
665
665
|
</div>
|
|
666
666
|
|
|
667
667
|
<div id="footer">
|
|
668
|
-
Generated on
|
|
668
|
+
Generated on Sat Nov 14 22:52:43 2026 by
|
|
669
669
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
670
670
|
0.9.45 (ruby-4.0.9).
|
|
671
671
|
</div>
|
|
@@ -179,7 +179,7 @@ Anything with the same now method can stand in for it, as a test's controlled cl
|
|
|
179
179
|
</div>
|
|
180
180
|
|
|
181
181
|
<div id="footer">
|
|
182
|
-
Generated on
|
|
182
|
+
Generated on Sat Nov 14 22:52:23 2026 by
|
|
183
183
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
184
184
|
0.9.45 (ruby-4.0.9).
|
|
185
185
|
</div>
|
|
@@ -657,7 +657,7 @@ CancelledError or PausedError. The first of the two wins, and a Control stays st
|
|
|
657
657
|
</div>
|
|
658
658
|
|
|
659
659
|
<div id="footer">
|
|
660
|
-
Generated on
|
|
660
|
+
Generated on Sat Nov 14 22:52:32 2026 by
|
|
661
661
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
662
662
|
0.9.45 (ruby-4.0.9).
|
|
663
663
|
</div>
|
|
@@ -455,7 +455,7 @@
|
|
|
455
455
|
</div>
|
|
456
456
|
|
|
457
457
|
<div id="footer">
|
|
458
|
-
Generated on
|
|
458
|
+
Generated on Sat Nov 14 22:52:35 2026 by
|
|
459
459
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
460
460
|
0.9.45 (ruby-4.0.9).
|
|
461
461
|
</div>
|
|
@@ -1156,7 +1156,7 @@ network (judged_windows and ineligible_windows).</p>
|
|
|
1156
1156
|
</div>
|
|
1157
1157
|
|
|
1158
1158
|
<div id="footer">
|
|
1159
|
-
Generated on
|
|
1159
|
+
Generated on Sat Nov 14 22:52:35 2026 by
|
|
1160
1160
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1161
1161
|
0.9.45 (ruby-4.0.9).
|
|
1162
1162
|
</div>
|
|
@@ -558,7 +558,7 @@ went; a download's (through_body) once its whole body has arrived and been check
|
|
|
558
558
|
</div>
|
|
559
559
|
|
|
560
560
|
<div id="footer">
|
|
561
|
-
Generated on
|
|
561
|
+
Generated on Sat Nov 14 22:52:28 2026 by
|
|
562
562
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
563
563
|
0.9.45 (ruby-4.0.9).
|
|
564
564
|
</div>
|
|
@@ -525,7 +525,7 @@ before it started.</p>
|
|
|
525
525
|
</div>
|
|
526
526
|
|
|
527
527
|
<div id="footer">
|
|
528
|
-
Generated on
|
|
528
|
+
Generated on Sat Nov 14 22:52:28 2026 by
|
|
529
529
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
530
530
|
0.9.45 (ruby-4.0.9).
|
|
531
531
|
</div>
|
|
@@ -296,6 +296,28 @@ positions it: what they drop is truncated as the next bytes are written, or as t
|
|
|
296
296
|
<li class="public ">
|
|
297
297
|
<span class="summary_signature">
|
|
298
298
|
|
|
299
|
+
<a href="#resettable%3F-instance_method" title="#resettable? (instance method)">#<strong>resettable?</strong> ⇒ Boolean </a>
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
</span>
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
<span class="summary_desc"><div class='inline'><p>The SDK's own local file, whose bytes nobody has been handed: a changed remote file starts it over.</p></div></span>
|
|
314
|
+
|
|
315
|
+
</li>
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
<li class="public ">
|
|
319
|
+
<span class="summary_signature">
|
|
320
|
+
|
|
299
321
|
<a href="#restart!-instance_method" title="#restart! (instance method)">#<strong>restart!</strong> ⇒ Object </a>
|
|
300
322
|
|
|
301
323
|
|
|
@@ -456,14 +478,14 @@ positions it: what they drop is truncated as the next bytes are written, or as t
|
|
|
456
478
|
<pre class="lines">
|
|
457
479
|
|
|
458
480
|
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
481
|
+
85
|
|
482
|
+
86
|
|
483
|
+
87
|
|
484
|
+
88
|
|
485
|
+
89</pre>
|
|
464
486
|
</td>
|
|
465
487
|
<td>
|
|
466
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line
|
|
488
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line 85</span>
|
|
467
489
|
|
|
468
490
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_file'>file</span><span class='comma'>,</span> <span class='id identifier rubyid_path'>path</span><span class='rparen'>)</span>
|
|
469
491
|
<span class='ivar'>@file</span> <span class='op'>=</span> <span class='id identifier rubyid_file'>file</span>
|
|
@@ -506,12 +528,12 @@ positions it: what they drop is truncated as the next bytes are written, or as t
|
|
|
506
528
|
<pre class="lines">
|
|
507
529
|
|
|
508
530
|
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
531
|
+
83
|
|
532
|
+
84
|
|
533
|
+
85</pre>
|
|
512
534
|
</td>
|
|
513
535
|
<td>
|
|
514
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line
|
|
536
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line 83</span>
|
|
515
537
|
|
|
516
538
|
<span class='kw'>def</span> <span class='id identifier rubyid_path'>path</span>
|
|
517
539
|
<span class='ivar'>@path</span>
|
|
@@ -543,12 +565,12 @@ positions it: what they drop is truncated as the next bytes are written, or as t
|
|
|
543
565
|
<pre class="lines">
|
|
544
566
|
|
|
545
567
|
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
568
|
+
142
|
|
569
|
+
143
|
|
570
|
+
144</pre>
|
|
549
571
|
</td>
|
|
550
572
|
<td>
|
|
551
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line
|
|
573
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line 142</span>
|
|
552
574
|
|
|
553
575
|
<span class='kw'>def</span> <span class='id identifier rubyid_close'>close</span>
|
|
554
576
|
<span class='ivar'>@file</span><span class='period'>.</span><span class='id identifier rubyid_close'>close</span> <span class='kw'>unless</span> <span class='ivar'>@file</span><span class='period'>.</span><span class='id identifier rubyid_closed?'>closed?</span>
|
|
@@ -573,10 +595,10 @@ positions it: what they drop is truncated as the next bytes are written, or as t
|
|
|
573
595
|
<pre class="lines">
|
|
574
596
|
|
|
575
597
|
|
|
576
|
-
|
|
598
|
+
146</pre>
|
|
577
599
|
</td>
|
|
578
600
|
<td>
|
|
579
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line
|
|
601
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line 146</span>
|
|
580
602
|
|
|
581
603
|
<span class='kw'>def</span> <span class='id identifier rubyid_close_after_failure'>close_after_failure</span><span class='lparen'>(</span><span class='id identifier rubyid__error'>_error</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
|
582
604
|
</td>
|
|
@@ -621,12 +643,12 @@ positions it: what they drop is truncated as the next bytes are written, or as t
|
|
|
621
643
|
<pre class="lines">
|
|
622
644
|
|
|
623
645
|
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
646
|
+
117
|
|
647
|
+
118
|
|
648
|
+
119</pre>
|
|
627
649
|
</td>
|
|
628
650
|
<td>
|
|
629
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line
|
|
651
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line 117</span>
|
|
630
652
|
|
|
631
653
|
<span class='kw'>def</span> <span class='id identifier rubyid_holds?'>holds?</span><span class='lparen'>(</span><span class='id identifier rubyid_bytes'>bytes</span><span class='rparen'>)</span>
|
|
632
654
|
<span class='ivar'>@file</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>>=</span> <span class='id identifier rubyid_bytes'>bytes</span>
|
|
@@ -651,12 +673,12 @@ positions it: what they drop is truncated as the next bytes are written, or as t
|
|
|
651
673
|
<pre class="lines">
|
|
652
674
|
|
|
653
675
|
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
676
|
+
113
|
|
677
|
+
114
|
|
678
|
+
115</pre>
|
|
657
679
|
</td>
|
|
658
680
|
<td>
|
|
659
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line
|
|
681
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line 113</span>
|
|
660
682
|
|
|
661
683
|
<span class='kw'>def</span> <span class='id identifier rubyid_identity'>identity</span>
|
|
662
684
|
<span class='const'><span class='object_link'><a href="../Checkpoint.html" title="Files::Transfer::Checkpoint (class)">Checkpoint</a></span></span><span class='period'>.</span><span class='id identifier rubyid_identity'><span class='object_link'><a href="../Checkpoint.html#identity-class_method" title="Files::Transfer::Checkpoint.identity (method)">identity</a></span></span><span class='lparen'>(</span><span class='ivar'>@file</span><span class='period'>.</span><span class='id identifier rubyid_stat'>stat</span><span class='comma'>,</span> <span class='label'>contents:</span> <span class='kw'>false</span><span class='rparen'>)</span>
|
|
@@ -690,13 +712,13 @@ positions it: what they drop is truncated as the next bytes are written, or as t
|
|
|
690
712
|
<pre class="lines">
|
|
691
713
|
|
|
692
714
|
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
715
|
+
122
|
|
716
|
+
123
|
|
717
|
+
124
|
|
718
|
+
125</pre>
|
|
697
719
|
</td>
|
|
698
720
|
<td>
|
|
699
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line
|
|
721
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line 122</span>
|
|
700
722
|
|
|
701
723
|
<span class='kw'>def</span> <span class='id identifier rubyid_prefix_digest'>prefix_digest</span><span class='lparen'>(</span><span class='id identifier rubyid_bytes'>bytes</span><span class='comma'>,</span> <span class='id identifier rubyid_chunk'>chunk</span><span class='rparen'>)</span>
|
|
702
724
|
<span class='ivar'>@file</span><span class='period'>.</span><span class='id identifier rubyid_rewind'>rewind</span>
|
|
@@ -705,6 +727,58 @@ positions it: what they drop is truncated as the next bytes are written, or as t
|
|
|
705
727
|
</td>
|
|
706
728
|
</tr>
|
|
707
729
|
</table>
|
|
730
|
+
</div>
|
|
731
|
+
|
|
732
|
+
<div class="method_details ">
|
|
733
|
+
<h3 class="signature " id="resettable?-instance_method">
|
|
734
|
+
|
|
735
|
+
#<strong>resettable?</strong> ⇒ <tt>Boolean</tt>
|
|
736
|
+
|
|
737
|
+
|
|
738
|
+
|
|
739
|
+
|
|
740
|
+
|
|
741
|
+
</h3><div class="docstring">
|
|
742
|
+
<div class="discussion">
|
|
743
|
+
<p>The SDK's own local file, whose bytes nobody has been handed: a changed remote file starts it over.</p>
|
|
744
|
+
|
|
745
|
+
</div>
|
|
746
|
+
</div>
|
|
747
|
+
<div class="tags">
|
|
748
|
+
|
|
749
|
+
<p class="tag_title">Returns:</p>
|
|
750
|
+
<ul class="return">
|
|
751
|
+
|
|
752
|
+
<li>
|
|
753
|
+
|
|
754
|
+
|
|
755
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
|
|
759
|
+
</li>
|
|
760
|
+
|
|
761
|
+
</ul>
|
|
762
|
+
|
|
763
|
+
</div><table class="source_code">
|
|
764
|
+
<tr>
|
|
765
|
+
<td>
|
|
766
|
+
<pre class="lines">
|
|
767
|
+
|
|
768
|
+
|
|
769
|
+
101
|
|
770
|
+
102
|
|
771
|
+
103</pre>
|
|
772
|
+
</td>
|
|
773
|
+
<td>
|
|
774
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line 101</span>
|
|
775
|
+
|
|
776
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_resettable?'>resettable?</span>
|
|
777
|
+
<span class='kw'>true</span>
|
|
778
|
+
<span class='kw'>end</span></pre>
|
|
779
|
+
</td>
|
|
780
|
+
</tr>
|
|
781
|
+
</table>
|
|
708
782
|
</div>
|
|
709
783
|
|
|
710
784
|
<div class="method_details ">
|
|
@@ -722,12 +796,12 @@ positions it: what they drop is truncated as the next bytes are written, or as t
|
|
|
722
796
|
<pre class="lines">
|
|
723
797
|
|
|
724
798
|
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
799
|
+
105
|
|
800
|
+
106
|
|
801
|
+
107</pre>
|
|
728
802
|
</td>
|
|
729
803
|
<td>
|
|
730
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line
|
|
804
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line 105</span>
|
|
731
805
|
|
|
732
806
|
<span class='kw'>def</span> <span class='id identifier rubyid_restart!'>restart!</span>
|
|
733
807
|
<span class='ivar'>@pending</span> <span class='op'>=</span> <span class='int'>0</span>
|
|
@@ -774,12 +848,12 @@ positions it: what they drop is truncated as the next bytes are written, or as t
|
|
|
774
848
|
<pre class="lines">
|
|
775
849
|
|
|
776
850
|
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
851
|
+
96
|
|
852
|
+
97
|
|
853
|
+
98</pre>
|
|
780
854
|
</td>
|
|
781
855
|
<td>
|
|
782
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line
|
|
856
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line 96</span>
|
|
783
857
|
|
|
784
858
|
<span class='kw'>def</span> <span class='id identifier rubyid_restartable?'>restartable?</span>
|
|
785
859
|
<span class='kw'>true</span>
|
|
@@ -813,13 +887,13 @@ positions it: what they drop is truncated as the next bytes are written, or as t
|
|
|
813
887
|
<pre class="lines">
|
|
814
888
|
|
|
815
889
|
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
890
|
+
128
|
|
891
|
+
129
|
|
892
|
+
130
|
|
893
|
+
131</pre>
|
|
820
894
|
</td>
|
|
821
895
|
<td>
|
|
822
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line
|
|
896
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line 128</span>
|
|
823
897
|
|
|
824
898
|
<span class='kw'>def</span> <span class='id identifier rubyid_resume_at!'>resume_at!</span><span class='lparen'>(</span><span class='id identifier rubyid_bytes'>bytes</span><span class='rparen'>)</span>
|
|
825
899
|
<span class='ivar'>@file</span><span class='period'>.</span><span class='id identifier rubyid_seek'>seek</span><span class='lparen'>(</span><span class='id identifier rubyid_bytes'>bytes</span><span class='rparen'>)</span>
|
|
@@ -854,16 +928,16 @@ positions it: what they drop is truncated as the next bytes are written, or as t
|
|
|
854
928
|
<pre class="lines">
|
|
855
929
|
|
|
856
930
|
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
931
|
+
134
|
|
932
|
+
135
|
|
933
|
+
136
|
|
934
|
+
137
|
|
935
|
+
138
|
|
936
|
+
139
|
|
937
|
+
140</pre>
|
|
864
938
|
</td>
|
|
865
939
|
<td>
|
|
866
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line
|
|
940
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line 134</span>
|
|
867
941
|
|
|
868
942
|
<span class='kw'>def</span> <span class='id identifier rubyid_settle!'>settle!</span>
|
|
869
943
|
<span class='kw'>return</span> <span class='kw'>unless</span> <span class='ivar'>@pending</span>
|
|
@@ -914,12 +988,12 @@ positions it: what they drop is truncated as the next bytes are written, or as t
|
|
|
914
988
|
<pre class="lines">
|
|
915
989
|
|
|
916
990
|
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
991
|
+
109
|
|
992
|
+
110
|
|
993
|
+
111</pre>
|
|
920
994
|
</td>
|
|
921
995
|
<td>
|
|
922
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line
|
|
996
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line 109</span>
|
|
923
997
|
|
|
924
998
|
<span class='kw'>def</span> <span class='id identifier rubyid_verifiable?'>verifiable?</span>
|
|
925
999
|
<span class='kw'>true</span>
|
|
@@ -944,13 +1018,13 @@ positions it: what they drop is truncated as the next bytes are written, or as t
|
|
|
944
1018
|
<pre class="lines">
|
|
945
1019
|
|
|
946
1020
|
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
1021
|
+
91
|
|
1022
|
+
92
|
|
1023
|
+
93
|
|
1024
|
+
94</pre>
|
|
951
1025
|
</td>
|
|
952
1026
|
<td>
|
|
953
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line
|
|
1027
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line 91</span>
|
|
954
1028
|
|
|
955
1029
|
<span class='kw'>def</span> <span class='id identifier rubyid_write'>write</span><span class='lparen'>(</span><span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span>
|
|
956
1030
|
<span class='id identifier rubyid_settle!'>settle!</span>
|
|
@@ -966,7 +1040,7 @@ positions it: what they drop is truncated as the next bytes are written, or as t
|
|
|
966
1040
|
</div>
|
|
967
1041
|
|
|
968
1042
|
<div id="footer">
|
|
969
|
-
Generated on
|
|
1043
|
+
Generated on Sat Nov 14 22:52:46 2026 by
|
|
970
1044
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
971
1045
|
0.9.45 (ruby-4.0.9).
|
|
972
1046
|
</div>
|