Questions tagged [directory-structure]
Questions that relate to the organization of files and directories in a filesystem.
directory-structure
1,688
questions
0
votes
1
answer
35
views
Folder structure conflict of Expo react native app with FSD v.2
I want to use FSD v2 with Expo application. As Expo application uses file based routing like a next.js, there is some conflicts. However, I found that there is possibilities to solve according to ...
0
votes
1
answer
32
views
Remote Directories with sizes
I want to import a csv list of file servers and shares ...
"\fileserver1\share"
"\fileserver2\share"
"\fileserver3\share"
Then export only the top-level directory path (...
-3
votes
0
answers
19
views
Recursively listing contents of a directory [duplicate]
i need some help coming up with an efficient algorithm to list the contents of a directory and its subdirectories. basically, if its a file, print its name else if its a directory, fetch its contents ...
1
vote
1
answer
22
views
Difference between a page component and smartcomponent Angular
I just finished reading an article about the recommended folder structure in an Angular project. The part about the feature modules caught my attention because it recommended to include a "top ...
0
votes
1
answer
33
views
not-found.tsx page in the context of multiple root layout.jsx in Next JS
I hope someone might be able to help.
I have this page structure in my NextJS 14 app:
app/
(admin)/
layout.tsx
(web)/
layout.tsx
page.tsx
not-found.tsx
Note ...
0
votes
0
answers
21
views
Django: How to undo ModuleNotFoundErrors due to multiple site-packages locations
When I run my Django project, why does it check for site packages in a folder other than where my project is located? The correct location where the project and package files are located is:
C:\Users\...
0
votes
1
answer
42
views
Webpack circular dependency while importing from index files
I have the current folder structure
├── files/
│ └── utils.ts
│ └── index.ts
├── api/
│ ├── api.ts
│ ├── utils.ts
│ └── index.ts
Content:
// files/utils.ts
import api from 'api' // ...
0
votes
1
answer
76
views
How to change the default extension install folder of Visual Studio 2022?
The default folder that the Visual Studio installs the extensions is the following: %LocalAppData%\Microsoft\VisualStudio<Visual Studio version>\Extensions. So I want to change the folder to a ...
0
votes
0
answers
75
views
Python importing the files partially from the same script [duplicate]
I have a folder structure as follows:
lib
|
|
|-MainScriptsDir
| |
| |-subDir
| |
| |- Mod_1 -> Importing Numpy
| |- Mod_2 -> Importing Mod_4
| |- Mod_3 -&...
0
votes
0
answers
18
views
Rewrite url with dynamic subfolders to php handler
I'm trying to clean up my site a little bit and I am running into a bit of an issue with .htaccess rewrites with dynamic/unknown subfolders.
What i'm trying to achieve is the following
Accessing
/...
1
vote
1
answer
22
views
Python app structure when using vs code and venv
I am working on a python app using VS Code. I work with the following structure:
my_app
├── venv
├── my_app
│ ├── __init__.py
│ ├── main.py
│ ├── module_1
│ │ ├── __init__.py
│ │ ├── ...
0
votes
1
answer
34
views
What is the recommended way to store application-wide values like the path of its AppData folder?
I'm working on a C# application and need to store application-wide values in a MVVM project, such as the path to its AppData folder. What is the recommended approach to achieve this? I'm very new to C#...
0
votes
1
answer
32
views
Script to create folders and subfolders and their subfolders shows an error
I'm attempting to create a 5 level folder having an Excel sheet as the source.
NOTE: Excel sheet is column organized by levels on each column as shown.
Reference VB script from:
https://superuser.com/...
0
votes
0
answers
19
views
VS Code - stacked folders - Set stacked folder structure back to default? [duplicate]
anybody knows how to disable the stacked folders?
I would like to have the default behavior.
-1
votes
1
answer
91
views
example of how to separate sample project into separate files?
When you create a new project in Flutter v3.19, it creates a default app in /lib/main.dart
/lib/main.dart contains three classes:
class MyApp extends StatelessWidget
class MyHomePage extends ...