COSFILETRANSFER_DIRECTORY(3erl)
β¨ NAME β¨
CosFileTransfer_Directory β bestie, this module implements the OMG CosFileTransfer::Directory interface π
It lives in the cosFileTransfer application, and its manual page is filed under CosFileTransfer_Directory(3) in the Erlang module definitions section π
π¦ DESCRIPTION π¦
okay so first things first: if you wanna get access to the record definitions for the structures, you gotta pull them in like this:
-include_lib("cosFileTransfer/include/*.hrl").
no cap, that's the whole vibe π
This module also exports the functions described in:
CosFileTransfer_FileCosPropertyService_PropertySetDefin the cosProperty application
so like, don't be surprised when your Directory is out here doing File things and property-set things too. it's giving range π
πΈ EXPORTS πΈ
list(Directory, Max) -> Return
Types:
Directory = #objref
Return = {ok, FileList, FileIterator}
FileList = [File]
File = FileIterator = #objref
So this one returns a list β length Max or less β of Object References that represent the files or directories chillin' inside the target Directory. ποΈβ¨
And here's the lil plot twist: if the amount of objects found is less than Max, the returned Iterator will be a NIL object. periodt. π
heads up bestie: this page is from thecosFileTransferapplication, 5.2.2, brought to you by Ericsson AB π«Ά β Erlang module definition energy only,CosFileTransfer_Directory(3), iykyk πβ
π¦ where this page comes from
- fedora 43: erlang-cosFileTransfer 1:5.2.2-1.fc43 Β· Apache-2.0
- fedora 44: erlang-cosFileTransfer 1:5.2.2-1.fc44 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms