esim.saip: Better docstring about FsNode class

Change-Id: Id9d196e8d9b1d1b892ec50100b170d72d2c3910b
This commit is contained in:
Harald Welte
2025-12-19 17:03:01 +01:00
committed by laforge
parent a8ae89a041
commit 097d565310

View File

@@ -1888,7 +1888,10 @@ class ProfileElementSequence:
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,
name: Optional[str] = None):
self.fid = fid