# FileInfo

> **Class** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/sandbox/_models/FileInfo)

One filesystem entry returned by :meth:`Sandbox.glob`.

## Signature

```python
FileInfo(
    self,
    path: str,
    is_dir: bool = False,
    size_bytes: int = 0,
    modified_at: Optional[str] = None,
)
```

## Constructors

```python
__init__(
    self,
    path: str,
    is_dir: bool = False,
    size_bytes: int = 0,
    modified_at: Optional[str] = None,
) -> None
```

| Name | Type |
|------|------|
| `path` | `str` |
| `is_dir` | `bool` |
| `size_bytes` | `int` |
| `modified_at` | `Optional[str]` |


## Properties

- `path`
- `is_dir`
- `size_bytes`
- `modified_at`

## Methods

- [`from_dict()`](https://reference.langchain.com/python/langsmith/sandbox/_models/FileInfo/from_dict)

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/3114edff2f41e5989724f27c0b37d3f69c6f198c/python/langsmith/sandbox/_models.py#L201)