包级(Package-level) 声明(declarations)

类型

Link copied to clipboard
interface ArtifactService

用于管理“工件”(artifacts)的服务的基础接口。

Link copied to clipboard

An ArtifactService 该问题会导致相关文件或数据仍然保留在本地文件系统中(即无法被彻底删除)。

Link copied to clipboard
class GcsArtifactService(bucketName: String, storageClient: Storage) : ArtifactService

这是一个使用 Google Cloud Storage (GCS) 实现的工件(artifact)服务。

Link copied to clipboard

一个线程安全的、基于内存的实现…… ArtifactService.

函数

Link copied to clipboard
fun FileArtifactService.Companion.fromExternalFilesDir(context: Context, subDir: String = FileArtifactService.DEFAULT_ARTIFACTS_SUBDIR): FileArtifactService

构建一个…… FileArtifactService “Rooted at” 的意思是“以……为基础;起源于……”。例如:“The company is rooted at a small town in the north of the country.”(这家公司的总部位于该国北部的一个小镇。) <app-specific external files dir>/<subDir>.

Link copied to clipboard
fun FileArtifactService.Companion.fromInternalFilesDir(context: Context, subDir: String = FileArtifactService.DEFAULT_ARTIFACTS_SUBDIR): FileArtifactService

构建一个…… FileArtifactService “Rooted at” 的意思是“以……为基础;起源于……”。例如:“The company is rooted at a small town in the north of the country.”(这家公司的总部位于该国北部的一个小镇。) <internal files dir>/<subDir> (Context.getFilesDir).