mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-25 14:58:33 +03:00
esim.saip: Better docstring about FsNode class
Change-Id: Id9d196e8d9b1d1b892ec50100b170d72d2c3910b
This commit is contained in:
@@ -1888,7 +1888,10 @@ class ProfileElementSequence:
|
|||||||
|
|
||||||
|
|
||||||
class FsNode:
|
class FsNode:
|
||||||
"""A node in the filesystem hierarchy."""
|
"""A node in the filesystem hierarchy. Each node can have a parent node and any number of children.
|
||||||
|
Each node is identified uniquely within the parent by its numeric FID and its optional human-readable
|
||||||
|
name. Each node usually is associated with an instance of the File class for the actual content of
|
||||||
|
the file. FsNode is the base class used by more specific nodes, such as FsNode{EF,DF,ADF,MF}."""
|
||||||
def __init__(self, fid: int, parent: Optional['FsNode'], file: Optional[File] = None,
|
def __init__(self, fid: int, parent: Optional['FsNode'], file: Optional[File] = None,
|
||||||
name: Optional[str] = None):
|
name: Optional[str] = None):
|
||||||
self.fid = fid
|
self.fid = fid
|
||||||
|
|||||||
Reference in New Issue
Block a user