mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 Clean code
This commit is contained in:
@@ -205,10 +205,6 @@ func (value *Value) IsEdited() bool {
|
||||
return value.CreatedAt != value.UpdatedAt
|
||||
}
|
||||
|
||||
func (value *Value) IsGenerated() bool {
|
||||
return KeyTypeUpdated == value.Type || KeyTypeCreated == value.Type
|
||||
}
|
||||
|
||||
func (value *Value) IsEmpty() bool {
|
||||
switch value.Type {
|
||||
case KeyTypeBlock:
|
||||
|
||||
Reference in New Issue
Block a user