@@ -212,7 +212,7 @@ func (i *fileIterator) Items() iter.Seq2[int, *File] {
212212}
213213
214214// FileIterate list files under directory, whose id is |dirId|.
215- func (a * Agent ) FileIterate (dirId string ) (it Iterator [* File ], err error ) {
215+ func (a * Agent ) FileIterate (dirId string ) (it Iterator [File ], err error ) {
216216 fi := & fileIterator {
217217 llc : a .llc ,
218218 dirId : dirId ,
@@ -225,7 +225,7 @@ func (a *Agent) FileIterate(dirId string) (it Iterator[*File], err error) {
225225}
226226
227227// FileWithStar lists files with star.
228- func (a * Agent ) FileWithStar (options ... * option.FileListOptions ) (it Iterator [* File ], err error ) {
228+ func (a * Agent ) FileWithStar (options ... * option.FileListOptions ) (it Iterator [File ], err error ) {
229229 fi := & fileIterator {
230230 llc : a .llc ,
231231 mode : 2 ,
@@ -245,7 +245,7 @@ func (a *Agent) FileWithStar(options ...*option.FileListOptions) (it Iterator[*F
245245// the given keyword.
246246func (a * Agent ) FileSearch (
247247 dirId , keyword string , options ... * option.FileListOptions ,
248- ) (it Iterator [* File ], err error ) {
248+ ) (it Iterator [File ], err error ) {
249249 fi := & fileIterator {
250250 llc : a .llc ,
251251 dirId : dirId ,
@@ -266,7 +266,7 @@ func (a *Agent) FileSearch(
266266// FileLabeled lists files which has specific label.
267267func (a * Agent ) FileWithLabel (
268268 labelId string , options ... * option.FileListOptions ,
269- ) (it Iterator [* File ], err error ) {
269+ ) (it Iterator [File ], err error ) {
270270 fi := & fileIterator {
271271 llc : a .llc ,
272272 mode : 4 ,
0 commit comments