UploadRenameRtype enum

上传文件的命名策略

文件命名策略,默认0 0 为不重命名,返回冲突 1 为只要path冲突即重命名 2 为path冲突且block_list不同才重命名 3 为覆盖

Inheritance

Constructors

UploadRenameRtype()
const

Values

none → const UploadRenameRtype

不重命名

alwaysRename → const UploadRenameRtype

只要 path 冲突即重命名

renameOnBlockList → const UploadRenameRtype

path 冲突且 block_list 不同才重命名

overwrite → const UploadRenameRtype

覆盖

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<UploadRenameRtype>
A constant List of the values in this enum, in order of their declaration.