chore: Add FsListArg struct and update imports
- Add FsListArg struct with group_id and limit fields - Uncomment lib/hero import
This commit is contained in:
@@ -110,6 +110,13 @@ pub mut:
|
|||||||
messages []db.MessageArg
|
messages []db.MessageArg
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@[params]
|
||||||
|
pub struct FsListArg {
|
||||||
|
pub mut:
|
||||||
|
group_id u32
|
||||||
|
limit int = 100 // Default limit is 100
|
||||||
|
}
|
||||||
|
|
||||||
// get new filesystem, not from the DB
|
// get new filesystem, not from the DB
|
||||||
pub fn (mut self DBFs) new(args FsArg) !Fs {
|
pub fn (mut self DBFs) new(args FsArg) !Fs {
|
||||||
mut o := Fs{
|
mut o := Fs{
|
||||||
|
|||||||
@@ -169,7 +169,7 @@ lib/lang
|
|||||||
lib/clients
|
lib/clients
|
||||||
lib/core
|
lib/core
|
||||||
lib/develop
|
lib/develop
|
||||||
lib/hero
|
// lib/hero
|
||||||
// lib/vfs The vfs folder is not exists on the development branch, so we need to uncomment it after merging this PR https://github.com/incubaid/herolib/pull/68
|
// lib/vfs The vfs folder is not exists on the development branch, so we need to uncomment it after merging this PR https://github.com/incubaid/herolib/pull/68
|
||||||
// lib/crypt
|
// lib/crypt
|
||||||
'
|
'
|
||||||
|
|||||||
Reference in New Issue
Block a user