81 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
63
views
How to Create a File Tree in GTK-RS/Relm4?
I've been struggling with this for a while, and I've almost got it- but not quite. This is what I have so far:
pub fn load_folder_view(state: &mut State) {
let path = state.current_folder_path....
0
votes
2
answers
93
views
Filter an existing file tree and only return path to the endpoints
I have a file tree with this type
interface FileTreeProps {
name: string;
isMat?: boolean;
children?: FileTreeProps[];
}
After the user inputs and submits the query I want a filtered tree where ...
-2
votes
1
answer
318
views
Creating a hierarchical file structure in Python with file names and sizes
How to create file tree from list of (str, int)?
I already tried to find ways to solve this problem, but I managed to find code for working with files, not a list of strings.
Example of input:
[
('...
-3
votes
1
answer
39
views
Is this React ? How can I find out from the files? It looks very similar to Angular
tree
.
├── assets
│ ├── javascripts
│ │ └── application.js
│ └── sass
│ └── application.scss
├── config.json
├── data
│ └── session-data-defaults.js
├── filters.js
├── routes.js
└── ...
0
votes
1
answer
96
views
Creating a python package with PyPi and executing it so that no "python3" and ".py" extension is needed
So, I was working on one of my projects when I decided that I would make it a command-line-based tool. I could not find any reliable information (maybe I just searched for the wrong thing, sorry if ...
0
votes
0
answers
85
views
How do I refresh/update the Custom fileTree Swing component by itself during file changes?
I found this Custom fileTree Component from github to implement it into my project, I'm using this JTree component to access and display file information like file name, file path, file type in a ...
1
vote
0
answers
199
views
How to get a directory from a path list?
In table data directories and files are stored as complete paths:
rowid
path
1
c:/data/
2
c:/data/test.txt
3
c:/data/sub1/
4
c:/data/sub1/test.dat
To get all items of a folder (directories and files) ...
0
votes
1
answer
395
views
Rust File Tree move occurs because `subtree` has type `trees::Tree<PathBuf>`, which does not implement the `Copy` trait
i am trying to make a simple tauri Program where i have a Filetree of all Files and sub files of a chosen directory.
I have not got many experience in Rust and ran into a problem with Ownerships.
Code
...
1
vote
2
answers
65
views
longest substrings file tree
Question
What is the shortest and most efficient (preferrable most efficient) way of reading in a single depth folder and creating a file tree that consists of the longest substrings of each file?
...
0
votes
1
answer
631
views
Json Array Pushes Data Twice to File Tree with React
When pushing data into a file tree, it pushes 2 sets of the same data and I am not exactly sure why.
I have a simple json array that looks like this:
export const treeDataFile = [{
type: 'directory',...
0
votes
1
answer
214
views
How to print the file tree of only the found files in a recursive function?
I have a recursive function that searches a path for a given file name. What I am trying to do is to print the files that match, along with their parent directories.
So for a file tree like this:
...
0
votes
0
answers
78
views
My js files are not responding to new edits
I'm updating a web application that I built. Changes that I make to my HTML and CSS display on the DOM. However, when I try to make changes in my JS files, they don't show on the DOM. I tested this ...
1
vote
1
answer
148
views
Javascript - read all filenames and output to html with hyperlink
I have a limited hosting server. I want to read the filetree (all files and folders) and create a hyperlink to them on a basic html page.
For clarity, I'm using Keybase, am publicly sharing files, but ...
2
votes
1
answer
209
views
jQuery File Tree always uses root folder as selected folder
I am having trouble displaying data using jQuery File Tree plugin. No matter what I use for 'root', it always uses '\' and displays content of C drive!
I am using aspx (with code behind that I am not ...
1
vote
0
answers
3k
views
How to create a File+Folder Tree View via jQuery
I'm trying to create a way to view CSV file that contains details about a folder and sub folders on a physical drive.
Here's the CSV file:
Volume,Path,Name,Size,Ext,Last modified,Description
"Music",...