public class ModelScopeDownload : IDownload
Public Class ModelScopeDownload
Implements IDownload
public ref class ModelScopeDownload : IDownload
type ModelScopeDownload =
class
interface IDownload
end
ModelScopeDownload | Initializes a new instance of the ModelScopeDownload class |
DownloadFileAsync | Main download method (interface implementation) Execution flow: 1. Create temporary working directory 2. Parse model URL to retrieve commitId 3. Start external process for download 4. Move files to final location 5. Handle exceptions and clean up resources |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
GetCommitId | Parse model URL to retrieve CommitID |
GetHashCode | Serves as the default hash function. (Inherited from Object) |
GetModelID | Extract model path from URL |
GetType | Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
RobustMove | Safely move directories (supports cross-drive) |
SaveCommitIdMarker | Saves a commit ID marker file in the model directory for tracking purposes. |
ToString | Returns a string that represents the current object. (Inherited from Object) |