mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-21 07:46:09 +01:00
🎨 Clean code
This commit is contained in:
parent
2d52dbfd1c
commit
34e46eee0b
1 changed files with 0 additions and 4 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue