mirror of
https://git.macaw.me/skunky/SkunkyArt.git
synced 2025-04-03 21:17:35 +03:00
отображение ошибок
This commit is contained in:
parent
5a8a0987a2
commit
c39399403e
11 changed files with 74 additions and 35 deletions
|
@ -127,6 +127,7 @@ func InitCacheSystem() {
|
|||
try(os.RemoveAll(fileName))
|
||||
}
|
||||
}
|
||||
|
||||
if c.MaxSize != 0 && fileInfo.Size() > c.MaxSize {
|
||||
try(os.RemoveAll(fileName))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue